mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 13:45:42 +00:00
bug4811: fixed quoting error in ephemeralvolume script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user