diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-07-01 09:53:17 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-07-01 09:53:17 +0000 |
commit | a18674d73d1ef3472897c0f2049bf8131b9e4eb6 (patch) | |
tree | 0910f1df6e4648f6866cc06910314b845bf99bf1 /share/scripts/debootstrap | |
parent | Adding upstream version 20160615. (diff) | |
download | open-infrastructure-compute-tools-a18674d73d1ef3472897c0f2049bf8131b9e4eb6.tar.xz open-infrastructure-compute-tools-a18674d73d1ef3472897c0f2049bf8131b9e4eb6.zip |
Adding upstream version 20160701.upstream/20160701
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'share/scripts/debootstrap')
-rwxr-xr-x | share/scripts/debootstrap | 2 |
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 |