]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/system/cloud-init
:xMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-switch...
[people/pmueller/ipfire-2.x.git] / src / initscripts / system / cloud-init
index 79a762b2d1089012514ed2bc9055a8a831450a42..284e24d7b9fb4ac93ed95417fa51934faad6306c 100644 (file)
@@ -13,6 +13,8 @@ case "${1}" in
                        scriptname="/etc/rc.d/helper/aws-setup"
                elif running_on_azure; then
                        scriptname="/etc/rc.d/helper/azure-setup"
+               elif running_on_gcp; then
+                       scriptname="/etc/rc.d/helper/gcp-setup"
                else
                        # This system is not running in the cloud
                        exit 0
@@ -63,6 +65,11 @@ case "${1}" in
                        echo "This system is running on Microsoft Azure"
                        exit 0
 
+               # Check Google
+               elif running_on_gcp; then
+                       echo "This system is running on Google Cloud"
+                       exit 0
+
                # The rest
                else
                        echo "This system is NOT running in the cloud"