X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=config;h=d2d7e1627b141093ae9e3ef0ca9308358135a754;hp=ce68e2044be98cf09175e9709d3fa1f103c8a6b2;hb=840f5b81bb6a0749a8f5360355f199d9655e9a1a;hpb=98cab0af4f596d4645109426d6ea3ea618c7e910;ds=sidebyside diff --git a/config b/config index ce68e20..d2d7e16 100644 --- a/config +++ b/config @@ -13,32 +13,24 @@ # # 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. +# directory. If so then MKFS, TUNE2FS, GRUB 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. -## If you do not set the variables grub will not be installed. -# Where do you want to install grub to? Use grub syntax for specifying -# hints: hd0,0 is the first partition on the first disk -# hd0 is the MBR of the first disk -# usage example: -# GRUB='hd0' +## Do you want to install grub? Just specify the device you'd like to use. +## Example: Specify /dev/sda to install into MBR (master boot record) of +## /dev/sda. If you do not set the variable grub will not be installed. +## Please note that grub can NOT be installed into a partition (like /dev/sda2) +## but in the master boot record only (/dev/sda, /dev/sdb,...). +# Usage example: +# GRUB='/dev/sda' GRUB='' -# specify root device for usage in grub (corresponds with $TARGET) -# notice: if you install Debian for example to /dev/hda1 use hd0,0 -# hd0,0 is the first partition on the first disk -# hd0 is the MBR of the first disk -# usage example: -# GROOT='hd0,0' -GROOT='' - # specifiy additional bootparameters for usage in grub # e.g. "pci=nomsi" BOOT_APPEND='' @@ -46,20 +38,20 @@ 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' - -# 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' +# 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' +MIRROR='http://cdn.debian.net/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 +# 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 @@ -75,6 +67,10 @@ CHROOTMIRROR='ftp://ftp.debian.de/debian' # 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 # notice: installing an amd64 system requires a 64bit kernel @@ -97,6 +93,10 @@ HOSTNAME='grml' # supported values: debootstrap cdebootstrap DEBOOTSTRAP='debootstrap' +# check signature of release file per default +# set to any other value then yes to disable signature checks. +SECURE='yes' + # 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., @@ -105,6 +105,9 @@ DEBOOTSTRAP='debootstrap' # Which debconf-frontend should be used? DEBIAN_FRONTEND='noninteractive' +# execute aptitude/apt-get with any special options? +# DPKG_OPTIONS='-o APT::Get::AllowUnauthenticated=true -o aptitude::Cmdline::ignore-trust-violations=yes' + # 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' @@ -117,6 +120,9 @@ DEBCONF='yes' # execute scripts from /etc/debootstrap/chroot-scripts/ inside the chroot? CHROOT_SCRIPTS='yes' +# +# execute scripts from /etc/debootstrap/pre-scripts/ before setting up chroot? +PRE_SCRIPTS='yes' # execute scripts from /etc/debootstrap/scripts/ after setting up chroot? SCRIPTS='yes' @@ -141,7 +147,7 @@ TUNE2FS='tune2fs -c0 -i0' # check filesystem when chroot stuff finished? FSCK='yes' -# which tool should be used for fsck? if unset the tool will be guesst based on $MKFS +# which tool should be used for fsck? if unset the tool will be guessed based on $MKFS # FSCKTOOL='' # which packages do you want do dpkg-reconfigure? @@ -154,7 +160,14 @@ LOCALES='yes' # use /usr/share/zoneinfo/$TIMEZONE for /etc/localtime TIMEZONE='Europe/Vienna' +# remove apt cache in chroot after installation of packages finished? +RM_APTCACHE='yes' + # generate initrd via update-initramfs? INITRD='yes' +# this file contains information that has been caught during +# installation and will be displayed at the end of the installation +INSTALL_NOTES='/etc/debootstrap/install_notes' + ## END OF FILE #################################################################