From d52d870096e926423ecb29567f4fb6a9b8cf2c78 Mon Sep 17 00:00:00 2001 From: grml User Date: Sat, 15 Sep 2007 18:45:24 +0200 Subject: [PATCH] Fix usage of GRML_LIVE_SOURCES --- etc/grml/grml-live.conf | 7 ++++--- grml-live | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/etc/grml/grml-live.conf b/etc/grml/grml-live.conf index 816c7aa..feae0fa 100644 --- a/etc/grml/grml-live.conf +++ b/etc/grml/grml-live.conf @@ -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: # FAI_DEBOOTSTRAP="etch http://ftp.de.debian.org/debian" diff --git a/grml-live b/grml-live index 9fb5024..94c9c03 100755 --- 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 -- 2.1.4