diff --git a/setup/so-functions b/setup/so-functions index 0b6f99142..5bbb319eb 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -585,7 +585,7 @@ configure_network_sensor() { detect_cloud() { echo "Testing if setup is running on a cloud instance" - if ( curl --fail -s -m 5 http://169.254.169.254/latest/meta-data/instance-id > /dev/null ) || ( dmidecode -s bios-vendor | grep -q Google); then export is_cloud="true"; fi + if ( curl --fail -s -m 5 http://169.254.169.254/latest/meta-data/instance-id > /dev/null ) || ( dmidecode -s bios-vendor | grep -q Google > /dev/null); then export is_cloud="true"; fi } detect_os() {