Revision b047857b

b/lib/cmdlib.py
3261 3261

  
3262 3262
    hyper = hypervisor.GetHypervisor()
3263 3263
    console_cmd = hyper.GetShellCommandForConsole(instance)
3264

  
3264 3265
    # build ssh cmdline
3265
    argv = ["ssh", "-q", "-t"]
3266
    argv.extend(ssh.KNOWN_HOSTS_OPTS)
3267
    argv.extend(ssh.BATCH_MODE_OPTS)
3268
    argv.append(node)
3269
    argv.append(console_cmd)
3270
    return "ssh", argv
3266
    cmd = self.ssh.BuildCmd(node, "root", console_cmd, batch=True, tty=True)
3267
    return cmd[0], cmd
3271 3268

  
3272 3269

  
3273 3270
class LUAddMDDRBDComponent(LogicalUnit):

Also available in: Unified diff