From 1601f8b9d0a91b5fbaea9343ed07f589e6b4267f Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 8 Jan 2016 15:17:52 +0100 Subject: [PATCH] Support wayback option also in bootstrapping the initial chroot --- grml-live | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.1.4