Update preseed.cfg
This commit is contained in:
parent
361378efe5
commit
ed104b6172
1 changed files with 5 additions and 5 deletions
10
preseed.cfg
10
preseed.cfg
|
|
@ -249,8 +249,8 @@ d-i debian-installer/exit/poweroff boolean true
|
|||
#
|
||||
# - Aggiungi la possibilità di entrare in SSH con l'account di root e la sua password
|
||||
d-i preseed/late_command string \
|
||||
echo "" >> /target/etc/ssh/sshd_config \
|
||||
echo "" >> /target/etc/ssh/sshd_config \
|
||||
echo "# BEGIN - Remove this block with Ansible as soon as you have SSH access" >> /target/etc/ssh/sshd_config \
|
||||
echo "PermitRootLogin yes" >> /target/etc/ssh/sshd_config \
|
||||
echo "# END - Remove this block with Ansible as soon as you have SSH access" >> /target/etc/ssh/sshd_config
|
||||
echo "" >> /target/etc/ssh/sshd_config; \
|
||||
echo "" >> /target/etc/ssh/sshd_config; \
|
||||
echo "# BEGIN - Remove this block with Ansible as soon as you have SSH access" >> /target/etc/ssh/sshd_config; \
|
||||
echo "PermitRootLogin yes" >> /target/etc/ssh/sshd_config; \
|
||||
echo "# END - Remove this block with Ansible as soon as you have SSH access" >> /target/etc/ssh/sshd_config;
|
||||
|
|
|
|||
Loading…
Reference in a new issue