mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 14:03:00 +02:00
cloud-init: Extend to support Exoscale
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -11,6 +11,8 @@ case "${1}" in
|
||||
# Check if we are running in the cloud
|
||||
if running_on_ec2; then
|
||||
scriptname="/etc/rc.d/helper/aws-setup"
|
||||
elif running_on_exoscale; then
|
||||
scriptname="/etc/rc.d/helper/exoscale-setup"
|
||||
elif running_on_azure; then
|
||||
scriptname="/etc/rc.d/helper/azure-setup"
|
||||
elif running_on_gcp; then
|
||||
@@ -62,6 +64,11 @@ case "${1}" in
|
||||
echo "This system is running on AWS EC2"
|
||||
exit 0
|
||||
|
||||
# Check Exoscale
|
||||
elif running_on_exoscale; then
|
||||
echo "This system is running on Exoscale"
|
||||
exit 0
|
||||
|
||||
# Check Microsoft
|
||||
elif running_on_azure; then
|
||||
echo "This system is running on Microsoft Azure"
|
||||
|
||||
Reference in New Issue
Block a user