diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-11-25 10:26:20 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-11-25 10:26:25 +0000 |
commit | 5b7aa9233b1f05f3837e0a797e867fcc94b0a6ea (patch) | |
tree | ad25da8c3b34eb8a3f51ac737244958b94159ad2 /share/scripts/debconf | |
parent | Releasing debian version 20161122-1. (diff) | |
download | open-infrastructure-compute-tools-5b7aa9233b1f05f3837e0a797e867fcc94b0a6ea.tar.xz open-infrastructure-compute-tools-5b7aa9233b1f05f3837e0a797e867fcc94b0a6ea.zip |
Merging upstream version 20161125.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rwxr-xr-x | share/scripts/debconf | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index 1cb49b0..cde66cb 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -25,10 +25,10 @@ MACHINES="/var/lib/machines" Parameters () { - LONG_OPTIONS="bind:,script:,name:,preseed-file:" - OPTIONS="b:,s:,n:,p:" + GETOPT_LONGOPTIONS="bind:,script:,name:,preseed-file:" + GETOPT_OPTIONS="b:,s:,n:,p:" - PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${SCRIPT} --options ${OPTIONS} --shell sh -- ${@})" + PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${SCRIPT} --options ${GETOPT_OPTIONS} --shell sh -- ${@})" if [ "${?}" != "0" ] then @@ -244,17 +244,6 @@ Debootstrap () INCLUDE="${INCLUDE},apt-transport-https,ca-certificates" fi - # FIXME: trim down, debootstrap variants? - case "${MODE}" in - debian) - INCLUDE="${INCLUDE},locales,dialog,isc-dhcp-client,netbase,net-tools,iproute,wget" - ;; - - progress-linux) - INCLUDE="${INCLUDE},apt-utils,locales-all,dialog,isc-dhcp-client,netbase,net-tools,iproute,openssh-server,wget" - ;; - esac - mkdir -p "$(dirname ${DIRECTORY})" debootstrap --verbose --arch=${ARCHITECTURE} --components=${PARENT_ARCHIVE_AREAS} --include=${INCLUDE} \ ${PARENT_DISTRIBUTION} "${DIRECTORY}" ${PARENT_MIRROR} |