Revision 5b099da9
b/lib/bootstrap.py | ||
---|---|---|
348 | 348 |
"%s!EOF.\n" |
349 | 349 |
"cat > '%s' << '!EOF.' && \n" |
350 | 350 |
"%s!EOF.\n" |
351 |
"chmod 0400 %s %s && " |
|
351 | 352 |
"%s restart" % |
352 | 353 |
(constants.SSL_CERT_FILE, noded_cert, |
353 | 354 |
constants.RAPI_CERT_FILE, rapi_cert, |
355 |
constants.SSL_CERT_FILE, constants.RAPI_CERT_FILE, |
|
354 | 356 |
constants.NODE_INITD_SCRIPT)) |
355 | 357 |
|
356 | 358 |
result = sshrunner.Run(node, 'root', mycommand, batch=False, |
Also available in: Unified diff