Skip to content
Snippets Groups Projects
Commit 8fd1bfa9 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Migrate lib/ssh.py from constants to pathutils


File system paths moved from constants to pathutils.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent f45c5c09
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ from ganeti import utils
from ganeti import errors
from ganeti import constants
from ganeti import netutils
from ganeti import pathutils
def FormatParamikoFingerprint(fingerprint):
......@@ -112,7 +113,7 @@ class SshRunner:
options = [
"-oEscapeChar=none",
"-oHashKnownHosts=no",
"-oGlobalKnownHostsFile=%s" % constants.SSH_KNOWN_HOSTS_FILE,
"-oGlobalKnownHostsFile=%s" % pathutils.SSH_KNOWN_HOSTS_FILE,
"-oUserKnownHostsFile=/dev/null",
"-oCheckHostIp=no",
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment