Revision 7e1fac25 lib/backend.py
b/lib/backend.py | ||
---|---|---|
355 | 355 |
|
356 | 356 |
utils.AddAuthorizedKey(auth_keys, sshpub) |
357 | 357 |
|
358 |
utils.RunCmd([constants.SSH_INITD_SCRIPT, "restart"]) |
|
358 |
result = utils.RunCmd([constants.DAEMON_UTIL, "reload-ssh-keys"]) |
|
359 |
if result.failed: |
|
360 |
_Fail("Unable to reload SSH keys (command %r, exit code %s, output %r)", |
|
361 |
result.cmd, result.exit_code, result.output) |
|
359 | 362 |
|
360 | 363 |
|
361 | 364 |
def LeaveCluster(modify_ssh_setup): |
Also available in: Unified diff