summaryrefslogtreecommitdiffstats
path: root/share/scripts/debootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-02-26 02:55:28 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-02-26 02:55:28 +0000
commitf673cbcab3a6e61f36be498d52f2767e891d1c08 (patch)
tree6691c93b051c7f67f04a03c7cc5d80d33eb161fa /share/scripts/debootstrap
parentRemoving Force-LoopBreak option when calling apt in container debconf create ... (diff)
downloadcompute-tools-f673cbcab3a6e61f36be498d52f2767e891d1c08.tar.xz
compute-tools-f673cbcab3a6e61f36be498d52f2767e891d1c08.zip
Using apt instead of apt-get in container debconf create script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/debootstrap b/share/scripts/debootstrap
index 7910ac3..aefdbab 100755
--- a/share/scripts/debootstrap
+++ b/share/scripts/debootstrap
@@ -163,7 +163,7 @@ done
mkdir -p "${MACHINES}"
debootstrap --arch=${ARCHITECTURE} --include=${INCLUDE} ${DISTRIBUTION} ${MACHINES}/${NAME} ${MIRROR}
-chroot "${MACHINES}/${NAME}" apt-get clean
+chroot "${MACHINES}/${NAME}" apt clean
# Setting hostname
echo "${NAME}" > "${MACHINES}/${NAME}/etc/hostname"