diff options
author | Mark Longair <mhl@pobox.com> | 2012-09-28 11:00:41 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2012-09-28 11:00:41 +0100 |
commit | c25133cbd703bda75067414fe2806481076d7feb (patch) | |
tree | dfcc3704d39999f99752199e081f43b377e592d9 | |
parent | 3035d4b3f794c92cfb0195d569060dde2846761f (diff) |
Don't exit on failure to find an EC2 instance hostname
-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 |