Revision 31684f84 lib/bootstrap.py

b/lib/bootstrap.py
530 530
  sshrunner.CopyFileToNode(node, constants.NODED_CERT_FILE)
531 531
  sshrunner.CopyFileToNode(node, constants.RAPI_CERT_FILE)
532 532
  sshrunner.CopyFileToNode(node, constants.CONFD_HMAC_KEY)
533
  mycommand = ("%s start %s -b '%s'" % (constants.DAEMON_UTIL, constants.NODED,
534
                                        bind_address))
533
  mycommand = ("%s stop-all; %s start %s -b '%s'" % (constants.DAEMON_UTIL,
534
                                                     constants.DAEMON_UTIL,
535
                                                     constants.NODED,
536
                                                     bind_address))
535 537

  
536 538
  result = sshrunner.Run(node, 'root', mycommand, batch=False,
537 539
                         ask_key=ssh_key_check,

Also available in: Unified diff