X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=config;h=2ebb36e02e9d76d5d968e8ef426860ae9c43e488;hp=648214d12290ca1f6c3b25faf94fb651c633b7e0;hb=7da6c7fbb5522560aab3606e6c71e92167498608;hpb=0b51657f46212b30e9e1be1b30e54e373c6d15f4 diff --git a/config b/config index 648214d..2ebb36e 100644 --- a/config +++ b/config @@ -3,16 +3,23 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Nov 10 00:52:27 CET 2006 [mika] ################################################################################ ################################################################################ # Important: you definitely have to adjust the following variables! ################################################################################ -## The most important question: target partition for new Debian system -# Where should Debian be installed to? -# usage example: +## The most important question: target of the new Debian system +## Where should Debian be installed to? +# +# Usually you want to use a partition. If you specify a string *without* /dev/ +# in the beginning, grml-debootstrap assumes you want to install Debian into a +# directory. If so then MKFS, TUNE2FS, GRUB, GROOT and FSCK won't apply, no +# matter of the configuration variables. Make sure the TARGET-directory is on a +# partition with present dev and exec mount options. +# +# usage examples: # TARGET='/dev/hda1' +# TARGET='/mnt/grml' TARGET='' ## Do you want to install grub? Then adjust the variables GRUB and GROOT. @@ -32,6 +39,10 @@ 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... @@ -39,36 +50,78 @@ GROOT='' MIRROR='ftp://ftp.debian.de/debian' # specify entry which should be used for /etc/apt/sources.list, -# if empty then any existing /etc/apt/sources.list will be taken +# if empty then existing /etc/apt/sources.list will be taken CHROOTMIRROR='ftp://ftp.debian.de/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/' + +# do not build /etc/apt/sources.list on the fly. This allow user to +# provide their own apt sources.list from /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) +# GRMLREPOS='yes' + +# install packages from grml-pool? requires activated $GRMLREPOS from above +# if empty nothing will be added (notice: in testing phase) +# GRMLPACKAGES='grml-etc-core' + # release (which Debian version should be installed) -# supported values: sarge etch sid +# supported values: sarge etch lenny sid RELEASE='etch' -# architecture (not yet officially supported by grml-debootstrap, work in progress) -# if unset the default (i386) will be taken +# architecture +# if unset the default of the running system (see 'dpkg --print-architecture') will be taken # notice: installing an amd64 system requires a 64bit kernel +# do not forget to adjust $KERNEL for selected architecture as well # ARCH='amd64' # hostname of new system HOSTNAME='grml' # kernel version which should be installed -KERNEL='2.6-686' +# do not forget to adjust according to architecture, for example +# 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 /var/cache/grml-debootstrap +# by default. Use another directory instead? +# 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' + +# install extra packages (.deb) from /etc/debootstrap/extrapackages/? +EXTRAPACKAGES='yes' + # place of config files for 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