mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
Don't save the logger to a var we only use once
This commit is contained in:
parent
bc8038729a
commit
abe6a5fef3
1 changed files with 3 additions and 1 deletions
|
@ -52,7 +52,9 @@ class AddSSHKeyGeneration(Task):
|
||||||
else:
|
else:
|
||||||
install['generate-ssh-hostkeys'] = os.path.join(init_scripts_dir, 'generate-ssh-hostkeys')
|
install['generate-ssh-hostkeys'] = os.path.join(init_scripts_dir, 'generate-ssh-hostkeys')
|
||||||
except CalledProcessError:
|
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):
|
class RemoveHWClock(Task):
|
||||||
|
|
Loading…
Add table
Reference in a new issue