From ae42fb0f9796e2a9eb342323869e076459ffe4ff Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Sun, 26 Sep 2021 00:12:23 +0200 Subject: [PATCH] updated preseed --- templates/preseed.cfg.j2 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/templates/preseed.cfg.j2 b/templates/preseed.cfg.j2 index bf929e7..ac1b029 100644 --- a/templates/preseed.cfg.j2 +++ b/templates/preseed.cfg.j2 @@ -66,13 +66,13 @@ d-i netcfg/choose_interface select auto # Any hostname and domain names assigned from dhcp take precedence over # values set here. However, setting the values still prevents the questions # from being shown, even if values come from dhcp. -d-i netcfg/get_hostname string unassigned-hostname +d-i netcfg/get_hostname string {{ debianunattended_hostname | default('debianunattended') }} d-i netcfg/get_domain string unassigned-domain # 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 # and adjust the following line. -d-i netcfg/hostname string "{{ debianunattended_hostname | default('debianunattended') }}" +d-i netcfg/hostname string {{ debianunattended_hostname | default('debianunattended') }} # Disable that annoying WEP key dialog. d-i netcfg/wireless_wep string @@ -322,8 +322,8 @@ d-i partman/confirm_nooverwrite boolean true #d-i apt-setup/use_mirror boolean false # Select which update services to use; define the mirrors to be used. # Values shown below are the normal defaults. -#d-i apt-setup/services-select multiselect security, updates -#d-i apt-setup/security_host string security.debian.org +d-i apt-setup/services-select multiselect security, updates +d-i apt-setup/security_host string security.debian.org # Additional repositories, local[0-9] available #d-i apt-setup/local0/repository string \ @@ -357,7 +357,7 @@ tasksel tasksel/first multiselect standard d-i pkgsel/include string openssh-server build-essential {{ debianunattended_additional_packages | default('') }} # Whether to upgrade packages after debootstrap. # 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 # installed, and what software you use. The default is not to report back, @@ -381,7 +381,7 @@ d-i grub-installer/with_other_os boolean true # not be determined safely in general, so this needs to be specified: #d-i grub-installer/bootdev string /dev/sda # To install to the primary device (assuming it is not a USB stick): -#d-i grub-installer/bootdev string default +d-i grub-installer/bootdev string default # Alternatively, if you want to install to a location other than the UEFI # parition/boot record, uncomment and edit these lines: @@ -460,7 +460,8 @@ d-i apt-setup/cdrom/set-next boolean false d-i apt-setup/cdrom/set-failed boolean false apt-cdrom-setup apt-setup/cdrom/set-next boolean false apt-cdrom-setup apt-setup/cdrom/set-failed boolean true -d-i pkgsel/update-policy select none +pkgsel/update-policy select none +pkgsel/updatedb boolean true {% if debianunattended_staticip_ipaddress is defined %} #static IPv4 address?