Created
October 18, 2019 05:51
-
-
Save noslin005/655cd8f83e9858df975a3918d56bb954 to your computer and use it in GitHub Desktop.
Debian Preseed Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#_preseed_V1 | |
## <owner> <question name> <question type> <value> | |
## Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/language string en | |
d-i debian-installer/country string US | |
d-i debian-installer/locale string en_US.UTF-8 | |
## Clock and Timezone | |
d-i clock-setup/utc boolean true | |
d-i time/zone string US/Eastern | |
# Keyboard selection. | |
d-i keyboard-configuration/xkb-keymap select us | |
## Network | |
d-i netcfg/get_domain string localhost | |
d-i netcfg/hostname string debian | |
## Mirror | |
d-i mirror/protocol string ftp | |
# Install debian stable | |
d-i mirror/suite string stable | |
## Account Setup | |
d-i debian-installer/root-login boolean true | |
# Root password, either in clear text | |
d-i passwd/root-password password password | |
d-i passwd/root-password-again password password | |
# or encrypted using a crypt(3) hash | |
# d-i passwd/root-password-crypted password $6$wP/mhcu0jT$md/JANG46Aqc/sCTY/DYEqLX1NCBz1lZF.ZXJcwEN5BDDwwn2aGOocUWBBdJ2Pk/5/RGiX1haPbLxd6zLlg80/ | |
# Create normal user | |
d-i passwd/user-fullname string Default user | |
d-i passwd/username string user | |
d-i passwd/user-password password password | |
d-i passwd/user-password-again password password | |
#d-i passwd/user-password-crypted password [crypt(3) hash] | |
## APT setup | |
d-i apt-setup/non-free boolean true | |
d-i apt-setup/contrib boolean true | |
# network mirror | |
d-i apt-setup/use_mirror boolean true | |
d-i apt-setup/services-select multiselect security, updates | |
d-i apt-setup/security_host string security.debian.org | |
## Packages | |
tasksel tasksel/first multiselect standard, desktop | |
d-i pkgsel/include string openssh-server build-essential ledmon | |
# Whether to upgrade packages after debootstrap. | |
# Allowed values: none, safe-upgrade, full-upgrade | |
d-i pkgsel/upgrade select safe-upgrade | |
popularity-contest popularity-contest/participate boolean false | |
## Boot loader | |
d-i grub-installer/only_debian boolean true | |
# Avoid that last message about the install being complete. | |
d-i finish-install/reboot_in_progress note |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment