fabrica/.packer/recipes/eole/2.7.2/preseed.cfg

5 lines
275 B
INI

openssh-server/permit-root-login boolean true
d-i preseed/late_command string in-target /bin/bash -c "chpasswd -c SHA512 <<<'root:cadoles'"
d-i preseed/late_command string in-target /bin/bash -c "sed -i 's/^#PermitRootLogin.*\$/PermitRootLogin yes/g' /etc/ssh/sshd_config";