Commit 835f8b23 authored by Iustin Pop's avatar Iustin Pop Committed by Michael Hanselmann
Browse files

Redistribute the RAPI certificate



This reverts to the old behaviour in Ganeti 2.4 and before.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent a7418448
......@@ -3697,6 +3697,9 @@ def _ComputeAncillaryFiles(cluster, redist):
if not redist:
files_all.update(constants.ALL_CERT_FILES)
files_all.update(ssconf.SimpleStore().GetFileList())
else:
# we need to ship at least the RAPI certificate
files_all.add(constants.RAPI_CERT_FILE)
if cluster.modify_etc_hosts:
files_all.add(constants.ETC_HOSTS)
......
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