diff options
Diffstat (limited to 'http/ubuntu-16.04/preseed.cfg')
-rw-r--r-- | http/ubuntu-16.04/preseed.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/ubuntu-16.04/preseed.cfg b/http/ubuntu-16.04/preseed.cfg index d99a94a..72e0ea4 100644 --- a/http/ubuntu-16.04/preseed.cfg +++ b/http/ubuntu-16.04/preseed.cfg @@ -47,7 +47,7 @@ d-i preseed/early_command string chmod +x /usr/lib/post-base-installer.d/90skip-tasksel d-i preseed/late_command string \ - in-target sed -i 's,^PermitRootLogin.*,PermitRootLogin yes,' /etc/ssh/sshd_config ; \ + in-target sed -i 's,^[# \t]*PermitRootLogin.*,PermitRootLogin yes,' /etc/ssh/sshd_config ; \ in-target apt-get update ; \ in-target apt-get -y upgrade |