Fix usage of GRML_LIVE_SOURCES
authorgrml User <repos@grml.org.invalid>
Sat, 15 Sep 2007 16:45:24 +0000 (18:45 +0200)
committergrml User <repos@grml.org.invalid>
Sat, 15 Sep 2007 16:45:24 +0000 (18:45 +0200)
etc/grml/grml-live.conf
grml-live

index 816c7aa..feae0fa 100644 (file)
@@ -30,9 +30,10 @@ USERNAME=grml
 # do you want to pass any additional arguments to FAI?
 FAI_ARGS=""
 
-# do you want to generate /etc/grml/fai/apt/sources.list via grml-live?
+# do you want to generate /etc/grml/fai/apt/sources.list on-the-fly via grml-live?
 # otherwise just take what /etc/grml/fai/apt/sources.list provides by default
-# GRML_LIVE_SOURCES="
+# GRML_LIVE_SOURCES has to look like a usual /etc/apt/sources.list entry
+#GRML_LIVE_SOURCES="
 #deb http://192.168.1.112/debian     etch         main contrib non-free
 #deb http://deb.grml.org/            grml-stable  main
 #deb http://deb.grml.org/            grml-testing main
@@ -42,7 +43,7 @@ FAI_ARGS=""
 # Which Debian flavour and which mirror do you want to use for debootstrapping?
 # Unless specified the default from /etc/grml/fai/make-fai-nfsroot.conf will be
 # taken. If you specify a value then the file
-# /etc/grml/fai/make-fai-nfsroot.conf will be updated by grml-live on the fly.
+# /etc/grml/fai/make-fai-nfsroot.conf will be updated by grml-live on-the-fly.
 # usage: <flavour> <mirror>
 # FAI_DEBOOTSTRAP="etch http://ftp.de.debian.org/debian"
 
index 9fb5024..94c9c03 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -125,7 +125,7 @@ fi
 # }}}
 
 if [ -n "$GRML_LIVE_SOURCES" ] ; then
-   echo $GRML_LIVE_SOURCES > /etc/grml/fai/apt/sources.list
+   echo "$GRML_LIVE_SOURCES" > /etc/grml/fai/apt/sources.list
 fi
 
 if [ -n "$FAI_DEBOOTSTRAP" ] ; then