diff options
Diffstat (limited to '')
-rwxr-xr-x | share/scripts/debconf | 13 | ||||
-rwxr-xr-x | share/scripts/debconf.d/0003-debconf | 4 |
2 files changed, 3 insertions, 14 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index 4878d98..69282ba 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -81,7 +81,7 @@ Parameters () Usage () { - echo "Usage: container create -n|--name NAME -s|--script ${SCRIPT} [-p|--preseed-file FILE]" >&2 + echo "Usage: container create -n|--name NAME -s|--script ${SCRIPT} -- [-p|--preseed-file FILE]" >&2 exit 1 } @@ -235,17 +235,6 @@ Debootstrap () INCLUDE="${INCLUDE},apt-transport-https,ca-certificates" fi - # FIXME: trim down, debootstrap variants? - case "${MODE}" in - debian) - INCLUDE="${INCLUDE},ifupdown,locales,libui-dialog-perl,dialog,isc-dhcp-client,netbase,net-tools,iproute,wget" - ;; - - progress-linux) - INCLUDE="${INCLUDE},apt-utils,ifupdown,locales-all,libui-dialog-perl,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} diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf index c0944fa..77dc030 100755 --- a/share/scripts/debconf.d/0003-debconf +++ b/share/scripts/debconf.d/0003-debconf @@ -32,8 +32,8 @@ Distribution () then case "${MODE}" in debian) - db_subst cnt-debconf/distribution CHOICES "Debian GNU/Linux 8 \"jessie\", Debian GNU/Linux 9 \"stretch\", Debian GNU/Linux unstable/sid" - db_subst cnt-debconf/distribution CHOICES_C "jessie, stretch, sid" + db_subst cnt-debconf/distribution CHOICES "Debian GNU/Linux 9 \"stretch\", Debian GNU/Linux unstable/sid" + db_subst cnt-debconf/distribution CHOICES_C "stretch, sid" db_set cnt-debconf/distribution stretch db_fset cnt-debconf/distribution seen false |