diff --git a/common/tasks/initd.py b/common/tasks/initd.py index 7bd5a14..5e52288 100644 --- a/common/tasks/initd.py +++ b/common/tasks/initd.py @@ -52,7 +52,9 @@ class AddSSHKeyGeneration(Task): else: install['generate-ssh-hostkeys'] = os.path.join(init_scripts_dir, 'generate-ssh-hostkeys') except CalledProcessError: - pass + import logging + logging.getLogger(__name__).warn('The OpenSSH server has not been installed, ' + 'not installing SSH host key generation script.') class RemoveHWClock(Task):