bug4811: fixed quoting error in ephemeralvolume script

This commit is contained in:
root
2021-03-02 21:46:26 +00:00
parent 0c7f2c6cfb
commit 84103094bd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ furthermore the ../imageupgrade_functions.sh has to go to /usr/local/bin.
Deploy mongod.conf to /etc and make sure that /root has a+r and a+x permissions because
otherwise the mongod user won't be able to read through the symbolic link
Link mongodb to /etc/logrotate.d
Link crontab to /home/ec2-user/crontab and run "crontab crontab" as ec2-user.
Link crontab to /root/crontab and run "crontab crontab" as root.
Run with optional EC2 user detail, e.g., as follows:
@@ -5,7 +5,7 @@
# An existing xfs partition will be left alone.
METADATA=$( /bin/ec2-metadata -d | sed -e 's/^user-data: //' )
echo "Metadata: ${METADATA}
echo "Metadata: ${METADATA}"
if echo "${METADATA}" | grep -q "^image-upgrade$"; then
echo "Image upgrade; not trying to mount/format ephemeral volume; calling imageupgrade.sh instead..."
imageupgrade.sh