Commit 1d053a84 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Add openssh to base package list of we're going to be enabling the sshd service

parent a7680a16
......@@ -48,6 +48,7 @@ class PostInstallUsers(Plugin):
ili_state.add_sudo_user(ili_state.user_username, require_password=False)
# If the user has sshkeys defined, we can safely enable sshd
if ili_state.user_sshkeys:
ili_state.add_base_package('openssh')
ili_state.add_enable_service('sshd')
def post_install(self, ili_state: IliState):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment