# Filename:      /etc/debootstrap/config
# Purpose:       configuration file for grml-debootstrap
# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports:   see https://grml.org/bugs/
# License:       This file is licensed under the GPL v2 or any later version.
################################################################################
# shellcheck shell=sh

################################################################################
# Important: adjust this file if you want to execute grml-debootstrap
#            without using the (limited) interactive frontend or
#            command line options (see manpage and grml-debootstrap --help)
################################################################################

# 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. MKFS, TUNE2FS, GRUB and
# FSCK will be ignored.
# Make sure the TARGET-directory points to a filesystem which has the dev, exec
# options enabled.
# Default: no default.
# Usage examples:
# TARGET='/dev/sda1' # install to partition /dev/sda1
# TARGET='/mnt/grml' # install into directory /mnt/grml

# Install the grub bootloader?
# Default: 'yes'
# Usage example:
# GRUB_INSTALL='no' # Do not install the grub bootloader.

# Specify the device where grub will be installed.
# Note: grub can not be installed into a partition.
# Default: no default. (Grub will not be installed.)
# Usage example:
# GRUB='/dev/sda' # Install into MBR of sda

# Additional kernel boot options. (For grub.)
# Default: no default.
# Usage example:
# BOOT_APPEND='pci=nomsi'

# Set mirror where packages will be downloaded from.
# Default: use /etc/debootstrap/etc/apt/sources.list if it exists, else
# 'http://deb.debian.org/debian'
# Usage example:
# MIRROR='ftp://ftp.de.debian.org/debian'

# If /etc/apt/sources.list should NOT be build on the fly, this
# options allows providing a separate apt sources.list file via
# /etc/debootstrap/etc/apt/sources.list
# KEEP_SRC_LIST='yes'

# To enable the Grml repository via /etc/apt/sources.list.d/grml.list
# set this variable to 'yes'.
# Default: 'no'
# GRMLREPOS='yes'

# Install packages from grml-repository?
# Requires activated $GRMLREPOS from above. If empty nothing will be added.
# Default: no default.
# GRMLPACKAGES='grml-etc-core'

# To enable Debian's backports repository via
# /etc/apt/sources.list.d/backports.list set this variable to 'yes'.
# Default: 'no'
# BACKPORTREPOS='yes'

# Debian release that should be installed.
# Supported values: buster, bullseye, sid
# Default: 'bullseye'
# RELEASE='bullseye'

# Define components that should be used within sources.list.
# Default: 'main'
# COMPONENTS='main contrib non-free'

# Set target architecture.
# Default: current architecture. (From 'dpkg --print-architecture'.)
# ARCH='amd64'

# Hostname of new system.
# Default: $HOSTNAME or if unset 'grml'
# HOSTNAME='grml'

# Kernel version to install.
# Default: according to current architecture.
# KERNEL='2.6-686'

# Set initial password for the root user.
# Please change this password after installation for security reasons.
# Default: no default.
# ROOTPASSWORD=''

# Pass extra options to mmdebstrap.
# Default: no default.
# Usage example:
# DEBOOTSTRAP_OPT='--include=debconf-utils,locales,pciutils --exclude=nano,tasksel,tasksel-data,iptables'

# debconf-frontend that should be used.
# Default: 'noninteractive'
# DEBIAN_FRONTEND='noninteractive'

# Pass extra options to aptitude/apt-get.
# Default: no default.
# DPKG_OPTIONS='-o APT::Get::AllowUnauthenticated=true -o aptitude::Cmdline::ignore-trust-violations=yes'

# Use custom grml-debootstrap stages.
# Specify path to your custom grml-debootstrap stages.
# Default: '/var/cache/grml-debootstrap'
# STAGES='/var/cache/grml-debootstrap'

# Install packages defined in /etc/debootstrap/packages.
# Default: 'yes'
# PACKAGES='no'

# Pre-seed DebConf questions from /etc/debootstrap/debconf-selections.
# Default: 'yes' (if file exists)
# DEBCONF='no'

# Run scripts from /etc/debootstrap/pre-scripts/ before creating the chroot.
# Default: 'yes'
# PRE_SCRIPTS='no'

# Run scripts from /etc/debootstrap/chroot-scripts/ inside chroot.
# Default: 'yes'
# CHROOT_SCRIPTS='no'

# Run scripts from /etc/debootstrap/post-scripts/ after setting up chroot.
# Default: 'yes'
# POST_SCRIPTS='no'

# Install *.deb packages from /etc/debootstrap/extrapackages/
# Default: 'yes'
# EXTRAPACKAGES='no'

# Location of config files for debootstrap.
# Default: '/etc/debootstrap'
# CONFFILES='/etc/debootstrap'

# Mount point to use during installation.
# Default: no default.
# MNTPOINT='/mnt/debootstrap'

# File system creation tool to apply on $TARGET.
# If empty, no file system will be created.
# Default: 'mkfs.ext4'
# MKFS=''

# Command line options for file system creation tool.
# Default: no default.
# MKFS_OPTS=''

# Filesystem tuning tool to apply on $TARGET.
# If empty, the created file system will not be tuned.
# Default: 'tune2fs -c0 -i0' if ext* filesystem is used, no default otherwise.
# TUNE2FS='tune2fs -c0 -i0'

# Check file system after installation is finished.
# Default: 'no'
# FSCK='yes'

# File system checking tool to apply on $TARGET.
# Default: guessed.
# FSCKTOOL=''

# Packages that should be 'dpkg-reconfigure'-ed while installation.
# Default: 'console-data'.
# RECONFIGURE='console-data'

# Generate locales using /etc/debootstrap/locale.gen configuration file.
# Default: 'yes'
# LOCALES='no'

# locales (LANG) that should be used as default.
# Default: 'en_US.UTF-8'
# DEFAULT_LOCALES='en_US.UTF-8'

# locales (LANGUAGE) that should be used as default.
# Default: 'en_US:en'
# DEFAULT_LANGUAGE='en_US:en'

# Use /usr/share/zoneinfo/$TIMEZONE for /etc/localtime.
# Default: 'Europe/Vienna'
# TIMEZONE='Europe/Vienna'

# Clean APT cache after installation is finished.
# Default: 'yes'
# RM_APTCACHE='no'

# Upgrade system via apt-get/aptitude update + [safe-]upgrade.
# Default: 'yes'
# UPGRADE_SYSTEM='no'

# Explicit generation of initrd via selected initrd generator.
# Default: 'yes'
# INITRD='no'

# Which generator to use for initrd creation.
# Supported values: 'dracut', 'initramfs-tools'
# Default: 'initramfs-tools'
# INITRD_GENERATOR='initramfs-tools'

# Pass extra options to the selected initrd generator
# Default: no default
# INITRD_GENERATOR_OPTS='-v'

# If the specified file exists its content will be displayed at the end of the
# installation process.
# Useful for checking for errors and display warning message.
# Default: '/etc/debootstrap/install_notes' (empty file).
# INSTALL_NOTES='/etc/debootstrap/install_notes'

# Use fixed disk identifiers for Virtual Machine builds.
# Useful for reproducible builds.
# Default: 'no'
# FIXED_DISK_IDENTIFIERS='yes'

# Disk identifier when using FIXED_DISK_IDENTIFIERS='yes'.
# Use uuid-runtime's uuidgen tool to generate random UUIDs on demand.
# Default: '26ada0c0-1165-4098-884d-aafd2220c2c6'
# DISK_IDENTIFIER="$(uuidgen)"

# Delete grml-debootstrap configuration files from installed system.
# Useful for reproducible builds or if you don't want to leak information.
# Default: 'no'
# REMOVE_CONFIGS='yes'

## END OF FILE #################################################################
