Support setting Debian mirror components
[grml-debootstrap.git] / config
diff --git a/config b/config
index 8332b6c..66f8fc9 100644 (file)
--- a/config
+++ b/config
@@ -3,7 +3,6 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Mon Apr 16 14:17:19 CEST 2007 [mika]
 ################################################################################
 
 ################################################################################
@@ -40,15 +39,27 @@ GRUB=''
 # GROOT='hd0,0'
 GROOT=''
 
+# specifiy additional bootparameters for usage in grub 
+# e.g. "pci=nomsi"
+BOOT_APPEND=''
+
 ################################################################################
 # Now the variables you might want to adjust, but need not to...
 
-# set mirror where debootstrap should download packages from
-MIRROR='ftp://ftp.debian.de/debian'
+# set mirror where debootstrap and chrootscript should download
+# packages from; if empty an existing
+# /etc/debootstrap/etc/apt/sources.list is used instead
+MIRROR='ftp://ftp.de.debian.org/debian'
+
+# specify directory of loopback mounted Debian-ISO so you don't
+# have to download all the core packages via network but can
+# use an available Debian-ISO instead
+# ISO='file:/mnt/iso/debian/'
 
-# specify entry which should be used for /etc/apt/sources.list,
-# if empty then existing /etc/apt/sources.list will be taken
-CHROOTMIRROR='ftp://ftp.debian.de/debian'
+# If /etc/apt/sources.list should NOT be build on the fly, this
+# options allows providing a separate apt file via
+# /etc/debootstrap/etc/apt/sources.list
+# KEEP_SRC_LIST='yes'
 
 # add grml repository to /etc/apt/sources.list
 # if empty then the repository won't be added (notice: in testing phase)
@@ -59,8 +70,13 @@ CHROOTMIRROR='ftp://ftp.debian.de/debian'
 # GRMLPACKAGES='grml-etc-core'
 
 # release (which Debian version should be installed)
-# supported values: sarge etch lenny sid
-RELEASE='etch'
+# supported values: etch (old-stable), lenny (stable),
+#                   squeeze (testing), sid (unstable)
+RELEASE='lenny'
+
+# define components that should be used within sources.list
+# default:
+# COMPONENTS='main contrib non-free'
 
 # architecture
 # if unset the default of the running system (see 'dpkg --print-architecture') will be taken
@@ -76,25 +92,46 @@ HOSTNAME='grml'
 # use 2.6-686 for i386 and 2.6-amd64 for amd64
 # KERNEL='2.6-686'
 
+# set password of user root without prompting, please use with caution
+# only, because you usually don't want to share your password(s) ;-)
+# ROOTPASSWORD=''
+
 # name of debootstrap executable
 # supported values: debootstrap cdebootstrap
 DEBOOTSTRAP='debootstrap'
 
+# To pass extra parameters to the debootstrap command. This feature allows
+# grml-debootstrap to pass extra parameters, e.g., --include=, --exclude=,
+# --components=, etc to debootstrap. E.g.,
+# DEBOOTSTRAP_OPT='--include=debconf-utils,locales,pciutils --exclude=nano,tasksel,tasksel-data,iptables'
+
 # Which debconf-frontend should be used?
 DEBIAN_FRONTEND='noninteractive'
 
-# The single steps/stages of grml-deboostrap are stored inside /etc/debootstrap/stages
+# The single steps/stages of grml-deboostrap are stored inside /var/cache/grml-debootstrap
 # by default. Use another directory instead?
-# STAGES='/etc/debootstrap/stages'
+# STAGES='/var/cache/grml-debootstrap'
 
 # install packages defined in /etc/debootstrap/packages?
 PACKAGES='yes'
 
+# pre-seed packages using /etc/debootstrap/debconf-selections (if exist)?
+DEBCONF='yes'
+
+# execute scripts from /etc/debootstrap/chroot-scripts/ inside the chroot?
+CHROOT_SCRIPTS='yes'
+
+# execute scripts from /etc/debootstrap/scripts/ after setting up chroot?
+SCRIPTS='yes'
+
+# install extra packages (.deb) from /etc/debootstrap/extrapackages/?
+EXTRAPACKAGES='yes'
+
 # place of config files for debootstrap
-CONFFILES='/etc/debootstrap/'
+CONFFILES='/etc/debootstrap'
 
 # mount point where chroot actions should take place
-MNTPOINT='/mnt/test'
+# MNTPOINT='/mnt/debootstrap'
 
 # executable which should be run on $TARGET
 # unset it if you do not want to use it
@@ -111,7 +148,8 @@ FSCK='yes'
 # FSCKTOOL=''
 
 # which packages do you want do dpkg-reconfigure?
-RECONFIGURE='locales console-data'
+# RECONFIGURE='locales console-data'
+RECONFIGURE='console-data'
 
 # use /etc/debootstrap/locale.gen for configuration of locales?
 LOCALES='yes'
@@ -120,7 +158,6 @@ LOCALES='yes'
 TIMEZONE='Europe/Vienna'
 
 # generate initrd via update-initramfs?
-# notice: won't do anything when release is sarge as update-initramfs does not exist there
 INITRD='yes'
 
 ## END OF FILE #################################################################