Commit 9f6a4328 by Bach Dániel

call 'ssh-keygen -A' instead of distro specific commands

parent a8ce62c9
...@@ -163,12 +163,7 @@ class Context(object): ...@@ -163,12 +163,7 @@ class Context(object):
for f in filelist: for f in filelist:
rmtree(f, ignore_errors=True) rmtree(f, ignore_errors=True)
if distro == 'debian': subprocess.call(('/usr/bin/ssh-keygen', '-A'))
subprocess.call(('/usr/sbin/dpkg-reconfigure',
'openssh-server'))
elif distro == 'rhel':
# TODO
pass
elif system == 'Windows': elif system == 'Windows':
# TODO # TODO
......
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 sign in to comment