summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-24 18:32:32 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-24 18:32:32 +0000
commitc78a6ac09386e73ce5ee019966b2e58c31b213d3 (patch)
tree137a172a5f5e4a3e5b8b883fbdb8c76671df79de /share
parentUsing fixme rather than todo in source files. (diff)
downloadcompute-tools-c78a6ac09386e73ce5ee019966b2e58c31b213d3.tar.xz
compute-tools-c78a6ac09386e73ce5ee019966b2e58c31b213d3.zip
Improving comments in debootstrap script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debootstrap4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/scripts/debootstrap b/share/scripts/debootstrap
index f0db7e8..9f5b6eb 100755
--- a/share/scripts/debootstrap
+++ b/share/scripts/debootstrap
@@ -174,9 +174,11 @@ do
fi
done
+# Run
mkdir -p "${MACHINES}"
-
${BOOTSTRAP} ${BOOTSTRAP_OPTIONS} --arch=${ARCHITECTURE} --include=${INCLUDE} ${DISTRIBUTION} ${MACHINES}/${NAME} ${MIRROR}
+
+# Cleaning apt cache
chroot "${MACHINES}/${NAME}" apt clean
# Setting hostname