summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-20 18:38:53 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-07-01 09:31:11 +0000
commita09ee3f6b885b2b85986e10768f0b3088eb88f4b (patch)
tree0dc1f5805b9f3dfac6aceb3813910745790d9717 /share/scripts/debconf
parentAdding section about known limitations to container-tools manpage. (diff)
downloadcompute-tools-a09ee3f6b885b2b85986e10768f0b3088eb88f4b.tar.xz
compute-tools-a09ee3f6b885b2b85986e10768f0b3088eb88f4b.zip
Creating machines directory in container create scripts if it's not already existing.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index c08444a..aa1c798 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -990,6 +990,7 @@ Upgrade_system "${CACHE}/${DISTRIBUTION}_${ARCHITECTURE}" || echo "W: If upgradi
Cleanup_system "${CACHE}/${DISTRIBUTION}_${ARCHITECTURE}"
## Specific parts
+mkdir -p "${MACHINES}"
cp -a "${CACHE}/${DISTRIBUTION}_${ARCHITECTURE}" "${MACHINES}/${NAME}"
# Mounting bind mounts