projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4aa8458
)
Support wayback option also in bootstrapping the initial chroot
author
Michael Prokop
<mika@grml.org>
Fri, 8 Jan 2016 14:17:52 +0000
(15:17 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 8 Jan 2016 14:18:04 +0000
(15:18 +0100)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
23a89d7
..
d9620d0
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-634,7
+634,11
@@
fi
# generate nfsroot configuration for FAI on the fly
if [ -z "$FAI_DEBOOTSTRAP" ] ; then
# 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
fi
if [ -z "$FAI_DEBOOTSTRAP_OPTS" ] ; then