Enable SSH login for user root (#3)

This commit is contained in:
Timothy Redaelli 2015-09-07 17:57:28 +02:00
parent 87c29b3fd0
commit 6cc054c8e9

View file

@ -240,6 +240,9 @@ finalize() {
fi fi
fi fi
# Enable SSH login for user root (#3)
sed -i '/^#PermitRootLogin\s/s/.*/&\nPermitRootLogin yes/' /etc/ssh/sshd_config
cat <<-EOF cat <<-EOF
Hi, Hi,
your VM has successfully been reimaged with Arch Linux. your VM has successfully been reimaged with Arch Linux.