diff options
Diffstat (limited to 'lib/container/move')
-rwxr-xr-x | lib/container/move | 4 |
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" |