diff --git a/bookworm/preseed.cfg b/bookworm/preseed.cfg index e1307c3..7989323 100644 --- a/bookworm/preseed.cfg +++ b/bookworm/preseed.cfg @@ -268,12 +268,12 @@ d-i preseed/late_command string \ in-target chmod 0644 /root/.ssh/authorized_keys d-i preseed/late_command string \ - in-target sed -i '/*PasswordAuthentication*/c\PasswordAuthentication no' /etc/ssh/sshd_config; \ - in-target sed -i '/*PasswordAuthentication*/c\PasswordAuthentication no' /etc/ssh/sshd_config; \ + 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 preseed/late_command string \ - in-target cat /etc/hostname | figlet > /etc/motd + in-target cat /etc/hostname | /usr/bin/figlet > /etc/motd d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true