Commit 7506a7f1 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

cfgupgrade: Use new bootstrap function for certs and keys

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 43575108
......@@ -174,13 +174,7 @@ def main():
if not options.dry_run:
if not os.path.exists(options.RAPI_CERT_FILE):
logging.debug("Writing RAPI certificate to %s", options.RAPI_CERT_FILE)
if not os.path.exists(options.HMAC_CLUSTER_KEY):
logging.debug("Writing HMAC key to %s", options.HMAC_CLUSTER_KEY)
bootstrap.GenerateClusterCrypto(False, False, False)
logging.critical("Writing configuration failed. It is probably in an"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment