summaryrefslogtreecommitdiffstats
path: root/share/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-10-25 12:46:13 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-10-25 12:46:13 +0000
commit8bc6ee87c76bedcc7ce0b86a619e40eda36904eb (patch)
treeb250a144e3cb6d1540f0776d6aacf7d42572d578 /share/scripts
parentRemoving obsolete network configurations in host-setup documentation. (diff)
downloadcompute-tools-8bc6ee87c76bedcc7ce0b86a619e40eda36904eb.tar.xz
compute-tools-8bc6ee87c76bedcc7ce0b86a619e40eda36904eb.zip
Switching default distribution to stretch in container create scripts.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts')
-rwxr-xr-xshare/scripts/debconf.d/0003-debconf2
-rwxr-xr-xshare/scripts/debootstrap2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf
index 92d9f0e..ff9440b 100755
--- a/share/scripts/debconf.d/0003-debconf
+++ b/share/scripts/debconf.d/0003-debconf
@@ -35,7 +35,7 @@ Distribution ()
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_set cnt-debconf/distribution jessie
+ db_set cnt-debconf/distribution stretch
db_fset cnt-debconf/distribution seen false
;;
diff --git a/share/scripts/debootstrap b/share/scripts/debootstrap
index e8ccd77..1ead471 100755
--- a/share/scripts/debootstrap
+++ b/share/scripts/debootstrap
@@ -125,7 +125,7 @@ then
fi
ARCHITECTURE="${ARCHITECTURE:-$(dpkg --print-architecture)}"
-DISTRIBUTION="${DISTRIBUTION:-jessie}"
+DISTRIBUTION="${DISTRIBUTION:-stretch}"
MIRROR="${MIRROR:-https://deb.debian.org/debian}"
PASSWORD="${PASSWORD:-$(dd if=/dev/urandom bs=12 count=1 2> /dev/null | base64)}"