This commit is contained in:
2023-07-03 16:03:38 +02:00
parent 620aea6b13
commit ac31bddf30

View File

@@ -85,7 +85,7 @@ d-i clock-setup/ntp boolean true
# - regular: use the usual partition types for your architecture
# - lvm: use LVM to partition the disk
# - crypto: use LVM within an encrypted partition
d-i partman-auto/method string lvm
d-i partman-auto/method string regular
# 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
@@ -217,7 +217,7 @@ d-i apt-setup/contrib boolean true
### Package selection
#tasksel tasksel/first multiselect standard, web-server, kde-desktop
tasksel tasksel/first select ssh-server
d-i pkgsel/include string openssh-server vim screen mc ntp krb5-user samba samba-common sssd sudo postfix bsd-mailx nfs-client snmpd realmd packagekit figlet
d-i pkgsel/include string openssh-server vim screen mc ntp krb5-user samba samba-common sssd sudo postfix bsd-mailx nfs-client snmpd realmd packagekit figlet curl wget
# Individual additional packages to install
#d-i pkgsel/include string openssh-server build-essential
@@ -267,9 +267,6 @@ d-i preseed/late_command string \
in-target chown --recursive root:root /root/.ssh; \
in-target chmod 0644 /root/.ssh/authorized_keys
d-i preseed/late_command string \
sed -i '/*PasswordAuthentication*/c\PasswordAuthentication no' /target/etc/ssh/sshd_config; \
sed -i '/*PasswordAuthentication*/c\PasswordAuthentication no' /target/etc/ssh/sshd_config; \
in-target systemctl enable --now sshd
d-i grub-installer/only_debian boolean true