From: Michael Prokop Date: Fri, 8 Jan 2016 14:17:52 +0000 (+0100) Subject: Support wayback option also in bootstrapping the initial chroot X-Git-Tag: v0.28.0~40 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=1601f8b9d0a91b5fbaea9343ed07f589e6b4267f Support wayback option also in bootstrapping the initial chroot --- diff --git a/grml-live b/grml-live index 23a89d7..d9620d0 100755 --- a/grml-live +++ b/grml-live @@ -634,7 +634,11 @@ fi # generate nfsroot configuration for FAI on the fly if [ -z "$FAI_DEBOOTSTRAP" ] ; then - FAI_DEBOOTSTRAP="$SUITE http://ftp.debian.org/debian" + if [ -n "$WAYBACK_DATE" ] ; then + FAI_DEBOOTSTRAP="$SUITE http://snapshot.debian.org/archive/debian/$WAYBACK_DATE/" + else + FAI_DEBOOTSTRAP="$SUITE http://ftp.debian.org/debian" + fi fi if [ -z "$FAI_DEBOOTSTRAP_OPTS" ] ; then