aws: Ensure that SSH checkbox is enabled, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-06-27 09:56:32 +01:00
parent 7fa83c2fe7
commit 8b59ef085e

View File

@@ -160,6 +160,8 @@ import_aws_configuration() {
# Actions performed only on the very first start
if [ ! -e "/var/ipfire/main/firstsetup_ok" ]; then
# Enable SSH
sed -e "s/ENABLE_SSH=.*/ENABLE_SSH=on/g" -i /var/ipfire/remote/settings
touch /var/ipfire/remote/enablessh
chown nobody:nobody /var/ipfire/remote/enablessh