From 8000e8a2209c133b5a0ad7bd4a48e8b6d528364c Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sat, 11 Apr 2020 16:15:55 +0200 Subject: [PATCH] Fixed escaping --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 737ca49..aba0610 100755 --- a/install.sh +++ b/install.sh @@ -22,9 +22,9 @@ for VOLUME in $(awk NF $SCRIPTPATH/volume_list | tr -d "[:blank:]") do VOLUME_ESCAPED=$(systemd-escape ${VOLUME}) 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 -Wants=mnt-cinder-volume@${VOLUME_ESCAPED}.service +Wants=mnt-cinder-volume@${VOLUME}.service Requires=mnt-volumes-${VOLUME_ESCAPED}.mount EOF