summaryrefslogtreecommitdiffstats
path: root/share/scripts/debootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-07-01 09:53:24 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-07-01 09:54:30 +0000
commit98e646a8fb214023ab99f661a6ad2550157c6b95 (patch)
tree0430656e1e16ec50b9eeede978c85e156a036d8a /share/scripts/debootstrap
parentReleasing debian version 20160615-2. (diff)
downloadopen-infrastructure-compute-tools-98e646a8fb214023ab99f661a6ad2550157c6b95.tar.xz
open-infrastructure-compute-tools-98e646a8fb214023ab99f661a6ad2550157c6b95.zip
Merging upstream version 20160701.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'share/scripts/debootstrap')
-rwxr-xr-xshare/scripts/debootstrap2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/scripts/debootstrap b/share/scripts/debootstrap
index 0a9e733..de9e501 100755
--- a/share/scripts/debootstrap
+++ b/share/scripts/debootstrap
@@ -129,6 +129,8 @@ DISTRIBUTION="${DISTRIBUTION:-jessie}"
MIRROR="${MIRROR:-http://ftp.debian.org/debian}"
PASSWORD="${PASSWORD:-$(dd if=/dev/urandom bs=12 count=1 2> /dev/null | base64)}"
+mkdir -p "${MACHINES}"
+
debootstrap --arch=${ARCHITECTURE} --include=dbus ${DISTRIBUTION} ${MACHINES}/${NAME} ${MIRROR}
chroot "${MACHINES}/${NAME}" apt-get clean