]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
aws: Ensure that SSH checkbox is enabled, too
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jun 2018 08:56:32 +0000 (09:56 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 27 Jun 2018 08:56:32 +0000 (09:56 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/helper/aws-setup

index d79ac2a764d5d433732d9be77300f173dde41e62..8097ad9ef7327b5895d4100c809f1072e5fcda9f 100644 (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