diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-05-26 08:56:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-06-03 11:37:19 +0000 |
commit | f8a8b7ecd9d49377c77884e2d349fd46ba3abe72 (patch) | |
tree | c4d51b84158bea544eee50d478e8a261f9f2a69e /lib/container | |
parent | Removing empty source directory of bind mounts in container stop command. (diff) | |
download | compute-tools-f8a8b7ecd9d49377c77884e2d349fd46ba3abe72.tar.xz compute-tools-f8a8b7ecd9d49377c77884e2d349fd46ba3abe72.zip |
Using safety measures of rm when removing containers because of (potentially) active bind mounts.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | lib/container/remove | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/remove b/lib/container/remove index d171d87..4f26d43 100755 --- a/lib/container/remove +++ b/lib/container/remove @@ -127,5 +127,5 @@ then fi # Run -rm -rf "${MACHINES}/${NAME}" +rm --preserve-root --one-file-system -rf "${MACHINES}/${NAME}" rm -f "${CONFIG}/${NAME}.conf" |