summaryrefslogtreecommitdiffstats
path: root/lib/container
diff options
context:
space:
mode:
authorSimon Spöhel <simon@spoehel.ch>2019-07-19 19:14:29 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-08-11 08:49:30 +0000
commit2e162fe6da0f75e23573cff2549d85d59e21a06f (patch)
tree8e04c14d397fff8e5b46e6670eb68960f4653359 /lib/container
parentRemoving stray veth links when stopping containers with force. (diff)
downloadcompute-tools-2e162fe6da0f75e23573cff2549d85d59e21a06f.tar.xz
compute-tools-2e162fe6da0f75e23573cff2549d85d59e21a06f.zip
Fixing a bug where directories were not created for --bind-ro.
Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib/container')
-rwxr-xr-xlib/container/create2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/create b/lib/container/create
index 8fa6189..9ae578c 100755
--- a/lib/container/create
+++ b/lib/container/create
@@ -205,7 +205,7 @@ fi
# Creating ro bind mounts
if [ -n "${BIND_RO}" ]
then
- BINDS="$(echo ${BIND_RO} | sed -e 's|;| |g')"
+ BINDS_RO="$(echo ${BIND_RO} | sed -e 's|;| |g')"
for BIND_RO in ${BINDS_RO}
do