Revision 6b0469d2

b/lib/backend.py
49 49

  
50 50

  
51 51
def _GetSshRunner():
52
  return ssh.SshRunner(_GetConfig())
52
  return ssh.SshRunner(_GetConfig().GetClusterName())
53 53

  
54 54

  
55 55
def _CleanDirectory(path, exclude=[]):
b/lib/bootstrap.py
264 264

  
265 265
  """
266 266
  cfg = ssconf.SimpleConfigReader()
267
  sshrunner = ssh.SshRunner(cfg)
267
  sshrunner = ssh.SshRunner(cfg.GetClusterName())
268 268
  gntpass = utils.GetNodeDaemonPassword()
269 269
  if not re.match('^[a-zA-Z0-9.]{1,64}$', gntpass):
270 270
    raise errors.OpExecError("ganeti password corruption detected")
b/lib/cmdlib.py
108 108

  
109 109
    """
110 110
    if not self.__ssh:
111
      self.__ssh = ssh.SshRunner(self.cfg)
111
      self.__ssh = ssh.SshRunner(self.cfg.GetClusterName())
112 112
    return self.__ssh
113 113

  
114 114
  ssh = property(fget=__GetSSH)

Also available in: Unified diff