summaryrefslogtreecommitdiffstats
path: root/share/create-scripts/debootstrap
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-08-19 09:00:35 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-08-19 09:20:40 +0000
commit970d5a96dd903f63b7b7e243d94fe9da62b174f0 (patch)
treef685e484916740a6a93550a2543c9f5e99a49134 /share/create-scripts/debootstrap
parentAvoid passing create command parameter to scripts in container create command. (diff)
downloadcompute-tools-970d5a96dd903f63b7b7e243d94fe9da62b174f0.tar.xz
compute-tools-970d5a96dd903f63b7b7e243d94fe9da62b174f0.zip
Adding cdebootstrap support.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/create-scripts/debootstrap')
-rwxr-xr-xshare/create-scripts/debootstrap5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/create-scripts/debootstrap b/share/create-scripts/debootstrap
index 01345f9..bef75b1 100755
--- a/share/create-scripts/debootstrap
+++ b/share/create-scripts/debootstrap
@@ -104,6 +104,11 @@ then
fi
case "${SCRIPT}" in
+ cdebootstrap)
+ BOOTSTRAP="/usr/bin/cdebootstrap"
+ BOOTSTRAP_OPTIONS=""
+ ;;
+
debootstrap)
BOOTSTRAP="/usr/sbin/debootstrap"
BOOTSTRAP_OPTIONS=""