2021-11-01 17:39:15
This commit is contained in:
@@ -2,8 +2,15 @@
|
|||||||
|
|
||||||
## Debian
|
## Debian
|
||||||
|
|
||||||
|
**auto url=https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/preseed.cfg**
|
||||||
|
|
||||||
- [Preseed](https://wiki.debian.org/DebianInstaller/Preseed)
|
- [Preseed](https://wiki.debian.org/DebianInstaller/Preseed)
|
||||||
- [Automating the installation using preseeding](https://www.debian.org/releases/stable/amd64/apb.en.html)
|
- [Automating the installation using preseeding](https://www.debian.org/releases/stable/amd64/apb.en.html)
|
||||||
- [example-preseed.txt](https://www.debian.org/releases/stable/example-preseed.txt)
|
- [example-preseed.txt](https://www.debian.org/releases/stable/example-preseed.txt)
|
||||||
- [Preseeding Full Disk Encryption](https://www.linuxjournal.com/content/preseeding-full-disk-encryption)
|
- [Preseeding Full Disk Encryption](https://www.linuxjournal.com/content/preseeding-full-disk-encryption)
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -sLo preseed.cfg https://www.debian.org/releases/stable/example-preseed.txt
|
||||||
|
vim preseed.cfg
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
d-i debian-installer/locale string en_US
|
d-i debian-installer/locale string en_US
|
||||||
|
|
||||||
# The values can also be preseeded individually for greater flexibility.
|
# The values can also be preseeded individually for greater flexibility.
|
||||||
#d-i debian-installer/language string en
|
d-i debian-installer/language string en
|
||||||
#d-i debian-installer/country string NL
|
d-i debian-installer/country string CH
|
||||||
#d-i debian-installer/locale string en_GB.UTF-8
|
d-i debian-installer/locale string en_US.UTF-8
|
||||||
# Optionally specify additional locales to be generated.
|
# Optionally specify additional locales to be generated.
|
||||||
#d-i localechooser/supported-locales multiselect en_US.UTF-8, nl_NL.UTF-8
|
d-i localechooser/supported-locales multiselect en_US.UTF-8, fr_CH.UTF-8
|
||||||
|
|
||||||
# Keyboard selection.
|
# Keyboard selection.
|
||||||
d-i keyboard-configuration/xkb-keymap select us
|
d-i keyboard-configuration/xkb-keymap select us
|
||||||
@@ -66,13 +66,13 @@ d-i netcfg/choose_interface select auto
|
|||||||
# Any hostname and domain names assigned from dhcp take precedence over
|
# Any hostname and domain names assigned from dhcp take precedence over
|
||||||
# values set here. However, setting the values still prevents the questions
|
# values set here. However, setting the values still prevents the questions
|
||||||
# from being shown, even if values come from dhcp.
|
# from being shown, even if values come from dhcp.
|
||||||
d-i netcfg/get_hostname string unassigned-hostname
|
d-i netcfg/get_hostname string gbaconni42
|
||||||
d-i netcfg/get_domain string unassigned-domain
|
d-i netcfg/get_domain string 42lausanne.ch
|
||||||
|
|
||||||
# If you want to force a hostname, regardless of what either the DHCP
|
# If you want to force a hostname, regardless of what either the DHCP
|
||||||
# server returns or what the reverse DNS entry for the IP is, uncomment
|
# server returns or what the reverse DNS entry for the IP is, uncomment
|
||||||
# and adjust the following line.
|
# and adjust the following line.
|
||||||
#d-i netcfg/hostname string somehost
|
d-i netcfg/hostname string gbaconni42
|
||||||
|
|
||||||
# Disable that annoying WEP key dialog.
|
# Disable that annoying WEP key dialog.
|
||||||
d-i netcfg/wireless_wep string
|
d-i netcfg/wireless_wep string
|
||||||
@@ -97,7 +97,7 @@ d-i netcfg/wireless_wep string
|
|||||||
# If you select ftp, the mirror/country string does not need to be set.
|
# If you select ftp, the mirror/country string does not need to be set.
|
||||||
#d-i mirror/protocol string ftp
|
#d-i mirror/protocol string ftp
|
||||||
d-i mirror/country string manual
|
d-i mirror/country string manual
|
||||||
d-i mirror/http/hostname string http.us.debian.org
|
d-i mirror/http/hostname string mirror.init7.net
|
||||||
d-i mirror/http/directory string /debian
|
d-i mirror/http/directory string /debian
|
||||||
d-i mirror/http/proxy string
|
d-i mirror/http/proxy string
|
||||||
|
|
||||||
@@ -109,9 +109,9 @@ d-i mirror/http/proxy string
|
|||||||
### Account setup
|
### Account setup
|
||||||
# Skip creation of a root account (normal user account will be able to
|
# Skip creation of a root account (normal user account will be able to
|
||||||
# use sudo).
|
# use sudo).
|
||||||
#d-i passwd/root-login boolean false
|
d-i passwd/root-login boolean false
|
||||||
# Alternatively, to skip creation of a normal user account.
|
# Alternatively, to skip creation of a normal user account.
|
||||||
#d-i passwd/make-user boolean false
|
d-i passwd/make-user boolean true
|
||||||
|
|
||||||
# Root password, either in clear text
|
# Root password, either in clear text
|
||||||
#d-i passwd/root-password password r00tme
|
#d-i passwd/root-password password r00tme
|
||||||
@@ -120,11 +120,11 @@ d-i mirror/http/proxy string
|
|||||||
#d-i passwd/root-password-crypted password [crypt(3) hash]
|
#d-i passwd/root-password-crypted password [crypt(3) hash]
|
||||||
|
|
||||||
# To create a normal user account.
|
# To create a normal user account.
|
||||||
#d-i passwd/user-fullname string Debian User
|
d-i passwd/user-fullname string gbaconni
|
||||||
#d-i passwd/username string debian
|
d-i passwd/username string gbaconni
|
||||||
# Normal user's password, either in clear text
|
# Normal user's password, either in clear text
|
||||||
#d-i passwd/user-password password insecure
|
d-i passwd/user-password password Born2beRoot
|
||||||
#d-i passwd/user-password-again password insecure
|
d-i passwd/user-password-again password Born2beRoot
|
||||||
# or encrypted using a crypt(3) hash.
|
# or encrypted using a crypt(3) hash.
|
||||||
#d-i passwd/user-password-crypted password [crypt(3) hash]
|
#d-i passwd/user-password-crypted password [crypt(3) hash]
|
||||||
# Create the first user with the specified UID instead of the default.
|
# Create the first user with the specified UID instead of the default.
|
||||||
@@ -140,12 +140,12 @@ d-i clock-setup/utc boolean true
|
|||||||
|
|
||||||
# You may set this to any valid setting for $TZ; see the contents of
|
# You may set this to any valid setting for $TZ; see the contents of
|
||||||
# /usr/share/zoneinfo/ for valid values.
|
# /usr/share/zoneinfo/ for valid values.
|
||||||
d-i time/zone string US/Eastern
|
d-i time/zone string Europe/Zurich
|
||||||
|
|
||||||
# Controls whether to use NTP to set the clock during the install
|
# Controls whether to use NTP to set the clock during the install
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
# NTP server to use. The default is almost always fine here.
|
# NTP server to use. The default is almost always fine here.
|
||||||
#d-i clock-setup/ntp-server string ntp.example.com
|
d-i clock-setup/ntp-server string ntp.metas.ch
|
||||||
|
|
||||||
### Partitioning
|
### Partitioning
|
||||||
## Partitioning example
|
## Partitioning example
|
||||||
@@ -164,7 +164,8 @@ d-i clock-setup/ntp boolean true
|
|||||||
# - regular: use the usual partition types for your architecture
|
# - regular: use the usual partition types for your architecture
|
||||||
# - lvm: use LVM to partition the disk
|
# - lvm: use LVM to partition the disk
|
||||||
# - crypto: use LVM within an encrypted partition
|
# - crypto: use LVM within an encrypted partition
|
||||||
d-i partman-auto/method string lvm
|
d-i partman-auto/method string crypto
|
||||||
|
d-i partman-auto-lvm/new_vg_name string wil-vg
|
||||||
|
|
||||||
# You can define the amount of space that will be used for the LVM volume
|
# You can define the amount of space that will be used for the LVM volume
|
||||||
# group. It can either be a size with its unit (eg. 20 GB), a percentage of
|
# group. It can either be a size with its unit (eg. 20 GB), a percentage of
|
||||||
@@ -185,7 +186,7 @@ d-i partman-lvm/confirm_nooverwrite boolean true
|
|||||||
# - atomic: all files in one partition
|
# - atomic: all files in one partition
|
||||||
# - home: separate /home partition
|
# - home: separate /home partition
|
||||||
# - multi: separate /home, /var, and /tmp partitions
|
# - multi: separate /home, /var, and /tmp partitions
|
||||||
d-i partman-auto/choose_recipe select atomic
|
d-i partman-auto/choose_recipe select home
|
||||||
|
|
||||||
# Or provide a recipe of your own...
|
# Or provide a recipe of your own...
|
||||||
# If you have a way to get a recipe file into the d-i environment, you can
|
# If you have a way to get a recipe file into the d-i environment, you can
|
||||||
@@ -246,7 +247,7 @@ d-i partman/confirm_nooverwrite boolean true
|
|||||||
#d-i partman-partitioning/default_label string gpt
|
#d-i partman-partitioning/default_label string gpt
|
||||||
|
|
||||||
# When disk encryption is enabled, skip wiping the partitions beforehand.
|
# When disk encryption is enabled, skip wiping the partitions beforehand.
|
||||||
#d-i partman-auto-crypto/erase_disks boolean false
|
d-i partman-auto-crypto/erase_disks boolean false
|
||||||
|
|
||||||
## Partitioning using RAID
|
## Partitioning using RAID
|
||||||
# The method should be set to "raid".
|
# The method should be set to "raid".
|
||||||
@@ -353,16 +354,16 @@ d-i partman/confirm_nooverwrite boolean true
|
|||||||
#tasksel tasksel/first multiselect standard, web-server, kde-desktop
|
#tasksel tasksel/first multiselect standard, web-server, kde-desktop
|
||||||
|
|
||||||
# Individual additional packages to install
|
# Individual additional packages to install
|
||||||
#d-i pkgsel/include string openssh-server build-essential
|
d-i pkgsel/include string openssh-server
|
||||||
# Whether to upgrade packages after debootstrap.
|
# Whether to upgrade packages after debootstrap.
|
||||||
# Allowed values: none, safe-upgrade, full-upgrade
|
# Allowed values: none, safe-upgrade, full-upgrade
|
||||||
#d-i pkgsel/upgrade select none
|
d-i pkgsel/upgrade select full-upgrade
|
||||||
|
|
||||||
# Some versions of the installer can report back on what software you have
|
# Some versions of the installer can report back on what software you have
|
||||||
# installed, and what software you use. The default is not to report back,
|
# installed, and what software you use. The default is not to report back,
|
||||||
# but sending reports helps the project determine what software is most
|
# but sending reports helps the project determine what software is most
|
||||||
# popular and should be included on the first CD/DVD.
|
# popular and should be included on the first CD/DVD.
|
||||||
#popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
### Boot loader installation
|
### Boot loader installation
|
||||||
# Grub is the boot loader (for x86).
|
# Grub is the boot loader (for x86).
|
||||||
Reference in New Issue
Block a user