-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdebian-installer.config
40 lines (31 loc) · 959 Bytes
/
debian-installer.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# You can use this script as a template for
# customizing the Debian installer.
# This script should contain ONLY variable definitions
# and a function named config_postinstall
#
if [ ! $DEBIAN_INSTALLER ]; then
echo "This script will only work when run inside the Debian install script"
exit 1
fi
# Comma separated list of packages to install
#CONFIG_PACKAGES=
# Don't install the mini GUI
#INSTALL_MINI_GUI=0
# The config_postinstall function will be called by the Debian
# installer after all the packages have been installed
#
# You can use this function to edit config files or install
# packages from other repos
#
# The variable $ROOT contains the path to the root debian filesystem
config_postinstall()
{
# Edit the hostname
#
# echo myhostname > $ROOT/etc/hostname
# Install a custom package
#
# wget -O $ROOT/tmp/package.deb http://example.com/mypackage.deb
# chroot $ROOT /usr/bin/dpkg -i /tmp/package.deb
# rm $ROOT/tmp/kernel.deb
}