diff options
-rwxr-xr-x | bin/pre-install-as-root | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pre-install-as-root b/bin/pre-install-as-root index 533a11a69..0d27dcfd5 100755 --- a/bin/pre-install-as-root +++ b/bin/pre-install-as-root @@ -23,7 +23,7 @@ fi # If we're not running on an EC2 instance, an empty body is returned # by this request: -EC2_HOSTNAME=`curl -s http://169.254.169.254/latest/meta-data/public-hostname` +EC2_HOSTNAME=`curl -s http://169.254.169.254/latest/meta-data/public-hostname || true` usage_and_exit() { cat >&2 <<EOUSAGE |