summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 10:19:09 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 10:19:09 +0000
commit3972193d6b6e65af23c89721a5b7faaba6e7a72b (patch)
treed9078e33029ecef24e1580f545767fc14ac3b236 /lib
parentTidying container move interactive question. (diff)
downloadcompute-tools-3972193d6b6e65af23c89721a5b7faaba6e7a72b.tar.xz
compute-tools-3972193d6b6e65af23c89721a5b7faaba6e7a72b.zip
Tidying container move comments.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xlib/container/move4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/container/move b/lib/container/move
index 0d00ac8..83e6a20 100755
--- a/lib/container/move
+++ b/lib/container/move
@@ -131,7 +131,7 @@ esac
mv "${CONFIG}/${OLD}.conf" "${CONFIG}/${NEW}.conf"
mv "${MACHINES}/${OLD}" "${MACHINES}/${NEW}"
-# Renaming bind mounts
+# bind mounts
BIND="$(awk -F= '/^bind=/ { print $2 }' ${CONFIG}/${NAME}.conf)"
if [ -n "${BIND}" ]
@@ -158,5 +158,5 @@ then
done
fi
-# Updating configuration file
+# config
sed -i -e "s|${OLD}|${NEW}|g" "${CONFIG}/${NEW}.conf"