openstack-metadata-fetcher: stop lying in log message

This commit is contained in:
Jack Kelly 2020-11-21 10:53:32 +10:00
parent 3bea940271
commit f8c3027812

View file

@ -3,7 +3,7 @@
metaDir=${targetRoot}etc/ec2-metadata metaDir=${targetRoot}etc/ec2-metadata
mkdir -m 0755 -p "$metaDir" mkdir -m 0755 -p "$metaDir"
echo "getting EC2 instance metadata..." echo "getting instance metadata..."
if ! [ -e "$metaDir/ami-manifest-path" ]; then if ! [ -e "$metaDir/ami-manifest-path" ]; then
wget ${wgetExtraOptions} -O "$metaDir/ami-manifest-path" http://169.254.169.254/1.0/meta-data/ami-manifest-path wget ${wgetExtraOptions} -O "$metaDir/ami-manifest-path" http://169.254.169.254/1.0/meta-data/ami-manifest-path