From: Iustin Pop <[email protected]>

wheezy is oldstable now, so let's bump the default. Sadly, this needs
a bump in the min disk size, since on a fresh debootstrap call:

$ du -sh wheezy jessie
229M    wheezy
283M    jessie

So we're over the current 256MB limit during debootstrap run itself,
before we get a chance to cleanup deb packages, etc. I've doubled the
size since 512MB is still small, even for test instances.

Signed-off-by: Iustin Pop <[email protected]>
---
 common.sh.in | 2 +-
 create       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/common.sh.in b/common.sh.in
index bd7b260..5ba6479 100644
--- a/common.sh.in
+++ b/common.sh.in
@@ -145,7 +145,7 @@ fi
 # will use it, this declaration is to make sure the variable is set
 : ${MIRROR:=""}
 : ${PROXY:=""}
-: ${SUITE:="wheezy"}
+: ${SUITE:="jessie"}
 : ${ARCH:=""}
 : ${EXTRA_PKGS:=""}
 : ${COMPONENTS:=""}
diff --git a/create b/create
index 08a2cb3..607bab2 100755
--- a/create
+++ b/create
@@ -19,9 +19,9 @@
 
 set -e
 
-# minimum device size is 256 MB, but we use 255 to account for
+# minimum device size is 512 MB, but we use 511 to account for
 # potential rounding
-declare -ri MIN_DEV_SIZE=$((255*1048576))
+declare -ri MIN_DEV_SIZE=$((511*1048576))
 
 . common.sh
 
-- 
2.8.1

Reply via email to