Fixed escaping
This commit is contained in:
parent
09a73daee7
commit
8000e8a220
@ -22,9 +22,9 @@ for VOLUME in $(awk NF $SCRIPTPATH/volume_list | tr -d "[:blank:]")
|
|||||||
do
|
do
|
||||||
VOLUME_ESCAPED=$(systemd-escape ${VOLUME})
|
VOLUME_ESCAPED=$(systemd-escape ${VOLUME})
|
||||||
cat << EOF >> /etc/systemd/system/${STACK}.service
|
cat << EOF >> /etc/systemd/system/${STACK}.service
|
||||||
After=mnt-cinder-volume@${VOLUME_ESCAPED}.service
|
After=mnt-cinder-volume@${VOLUME}.service
|
||||||
After=mnt-volumes-${VOLUME_ESCAPED}.mount
|
After=mnt-volumes-${VOLUME_ESCAPED}.mount
|
||||||
Wants=mnt-cinder-volume@${VOLUME_ESCAPED}.service
|
Wants=mnt-cinder-volume@${VOLUME}.service
|
||||||
Requires=mnt-volumes-${VOLUME_ESCAPED}.mount
|
Requires=mnt-volumes-${VOLUME_ESCAPED}.mount
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user