diff options
Diffstat (limited to 'roles/vmm')
-rw-r--r-- | roles/vmm/files/init_vm_alpine.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/vmm/files/init_vm_alpine.py b/roles/vmm/files/init_vm_alpine.py index d9dc0d5..126a0bc 100644 --- a/roles/vmm/files/init_vm_alpine.py +++ b/roles/vmm/files/init_vm_alpine.py @@ -47,7 +47,8 @@ def init_ssh(): [1, "mkdir /root/.ssh"], [1, f"echo '{SSHKEY}' > /root/.ssh/authorized_keys"], [1, f"echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config"], - [1, "/etc/init.d/sshd restart"] + [1, "/etc/init.d/sshd restart"], + [1, "rc-update add sshd"] ]) def init_packages(): |