fix: preseed
This commit is contained in:
		@@ -1,21 +1,19 @@
 | 
				
			|||||||
#_preseed_V1
 | 
					#_preseed_V1
 | 
				
			||||||
#### Contents of the preconfiguration file (for booksworm)
 | 
					#### Contents of the preconfiguration file (for bookworm)
 | 
				
			||||||
 | 
					### Localization
 | 
				
			||||||
# Preseeding only locale sets language, country and locale.
 | 
					# Preseeding only locale sets language, country and locale.
 | 
				
			||||||
#d-i debian-installer/locale string en_US.UTF-8
 | 
					d-i debian-installer/locale string fr_FR.UTF-8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 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 FR
 | 
					#d-i debian-installer/country string NL
 | 
				
			||||||
d-i debian-installer/locale string en_US.UTF-8
 | 
					#d-i debian-installer/locale string en_GB.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, fr_FR.UTF-8
 | 
					#d-i localechooser/supported-locales multiselect en_US.UTF-8, nl_NL.UTF-8
 | 
				
			||||||
#d-i debian-installer/fallbacklocale select fr_FR.UTF-8
 | 
					 | 
				
			||||||
#d-i debian-installer/locale select en_US.UTF-8
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Keyboard selection.
 | 
					# Keyboard selection.
 | 
				
			||||||
d-i keyboard-configuration/xkb-keymap select fr
 | 
					d-i keyboard-configuration/xkb-keymap select fr
 | 
				
			||||||
d-i console-keymaps-at/keymap select fr-latin9
 | 
					# d-i keyboard-configuration/toggle select No toggling
 | 
				
			||||||
d-i debian-installer/keymap string fr-latin9
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Network configuration
 | 
					### Network configuration
 | 
				
			||||||
# Disable network configuration entirely. This is useful for cdrom
 | 
					# Disable network configuration entirely. This is useful for cdrom
 | 
				
			||||||
@@ -27,13 +25,16 @@ d-i debian-installer/keymap string fr-latin9
 | 
				
			|||||||
# skip displaying a list if there is more than one interface.
 | 
					# skip displaying a list if there is more than one interface.
 | 
				
			||||||
d-i netcfg/choose_interface select auto
 | 
					d-i netcfg/choose_interface select auto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# To pick a particular interface instead:
 | 
				
			||||||
 | 
					#d-i netcfg/choose_interface select eth1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# To set a different link detection timeout (default is 3 seconds).
 | 
					# To set a different link detection timeout (default is 3 seconds).
 | 
				
			||||||
# Values are interpreted as seconds.
 | 
					# Values are interpreted as seconds.
 | 
				
			||||||
d-i netcfg/link_wait_timeout string 5
 | 
					#d-i netcfg/link_wait_timeout string 10
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# If you have a slow dhcp server and the installer times out waiting for
 | 
					# If you have a slow dhcp server and the installer times out waiting for
 | 
				
			||||||
# it, this might be useful.
 | 
					# it, this might be useful.
 | 
				
			||||||
d-i netcfg/dhcp_timeout string 60
 | 
					#d-i netcfg/dhcp_timeout string 60
 | 
				
			||||||
#d-i netcfg/dhcpv6_timeout string 60
 | 
					#d-i netcfg/dhcpv6_timeout string 60
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Automatic network configuration is the default.
 | 
					# Automatic network configuration is the default.
 | 
				
			||||||
@@ -86,7 +87,7 @@ d-i netcfg/wireless_wep string
 | 
				
			|||||||
# If non-free firmware is needed for the network or other hardware, you can
 | 
					# If non-free firmware is needed for the network or other hardware, you can
 | 
				
			||||||
# configure the installer to always try to load it, without prompting. Or
 | 
					# configure the installer to always try to load it, without prompting. Or
 | 
				
			||||||
# change to false to disable asking.
 | 
					# change to false to disable asking.
 | 
				
			||||||
d-i hw-detect/load_firmware boolean false
 | 
					d-i hw-detect/load_firmware boolean true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Network console
 | 
					### Network console
 | 
				
			||||||
# Use the following settings if you wish to make use of the network-console
 | 
					# Use the following settings if you wish to make use of the network-console
 | 
				
			||||||
@@ -102,7 +103,7 @@ d-i hw-detect/load_firmware boolean false
 | 
				
			|||||||
# 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.
 | 
				
			||||||
# Default value for the mirror protocol: http.
 | 
					# Default value for the mirror protocol: http.
 | 
				
			||||||
#d-i mirror/protocol string ftp
 | 
					#d-i mirror/protocol string ftp
 | 
				
			||||||
d-i mirror/country string FR
 | 
					d-i mirror/country string manual
 | 
				
			||||||
d-i mirror/http/hostname string deb.debian.org
 | 
					d-i mirror/http/hostname string deb.debian.org
 | 
				
			||||||
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
 | 
				
			||||||
@@ -327,8 +328,8 @@ d-i apt-setup/cdrom/set-first boolean false
 | 
				
			|||||||
# You can choose to install non-free firmware.
 | 
					# You can choose to install non-free firmware.
 | 
				
			||||||
#d-i apt-setup/non-free-firmware boolean true
 | 
					#d-i apt-setup/non-free-firmware boolean true
 | 
				
			||||||
# You can choose to install non-free and contrib software.
 | 
					# You can choose to install non-free and contrib software.
 | 
				
			||||||
#d-i apt-setup/non-free boolean true
 | 
					d-i apt-setup/non-free boolean true
 | 
				
			||||||
#d-i apt-setup/contrib boolean true
 | 
					d-i apt-setup/contrib boolean true
 | 
				
			||||||
# Uncomment the following line, if you don't want to have the sources.list
 | 
					# Uncomment the following line, if you don't want to have the sources.list
 | 
				
			||||||
# entry for a DVD/BD installation image active in the installed system
 | 
					# entry for a DVD/BD installation image active in the installed system
 | 
				
			||||||
# (entries for netinst or CD images will be disabled anyway, regardless of
 | 
					# (entries for netinst or CD images will be disabled anyway, regardless of
 | 
				
			||||||
@@ -366,6 +367,7 @@ d-i apt-setup/security_host string security.debian.org
 | 
				
			|||||||
# Uncomment this to add multiarch configuration for i386
 | 
					# Uncomment this to add multiarch configuration for i386
 | 
				
			||||||
#d-i apt-setup/multiarch string i386
 | 
					#d-i apt-setup/multiarch string i386
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Package selection
 | 
					### Package selection
 | 
				
			||||||
tasksel tasksel/first multiselect standard, ssh-server
 | 
					tasksel tasksel/first multiselect standard, ssh-server
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -374,7 +376,7 @@ tasksel tasksel/first multiselect standard, ssh-server
 | 
				
			|||||||
#d-i pkgsel/run_tasksel boolean false
 | 
					#d-i pkgsel/run_tasksel boolean false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Individual additional packages to install
 | 
					# Individual additional packages to install
 | 
				
			||||||
d-i pkgsel/include string ca-certificates cloud-init qemu-guest-agent sudo
 | 
					d-i pkgsel/include string ca-certificates cloud-init qemu-guest-agent sudo unattended-upgrades
 | 
				
			||||||
# 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 safe-upgrade
 | 
					d-i pkgsel/upgrade select safe-upgrade
 | 
				
			||||||
@@ -450,6 +452,7 @@ d-i cdrom-detect/eject boolean true
 | 
				
			|||||||
#   debconf-get-selections --installer > file
 | 
					#   debconf-get-selections --installer > file
 | 
				
			||||||
#   debconf-get-selections >> file
 | 
					#   debconf-get-selections >> file
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### Advanced options
 | 
					#### Advanced options
 | 
				
			||||||
### Running custom commands during the installation
 | 
					### Running custom commands during the installation
 | 
				
			||||||
# d-i preseeding is inherently not secure. Nothing in the installer checks
 | 
					# d-i preseeding is inherently not secure. Nothing in the installer checks
 | 
				
			||||||
@@ -472,4 +475,4 @@ d-i cdrom-detect/eject boolean true
 | 
				
			|||||||
# directly, or use the apt-install and in-target commands to easily install
 | 
					# directly, or use the apt-install and in-target commands to easily install
 | 
				
			||||||
# packages and run commands in the target system.
 | 
					# packages and run commands in the target system.
 | 
				
			||||||
#d-i preseed/late_command string
 | 
					#d-i preseed/late_command string
 | 
				
			||||||
d-i preseed/late_command string in-target sed -e 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' -i /etc/ssh/sshd_config
 | 
					d-i preseed/late_command string in-target sed -e 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' -i /etc/ssh/sshd_config
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user