Revision 0aee8ee9 tools/cfgupgrade
b/tools/cfgupgrade | ||
---|---|---|
122 | 122 |
options.SERVER_PEM_PATH = options.data_dir + "/server.pem" |
123 | 123 |
options.KNOWN_HOSTS_PATH = options.data_dir + "/known_hosts" |
124 | 124 |
options.RAPI_CERT_FILE = options.data_dir + "/rapi.pem" |
125 |
options.SPICE_CERT_FILE = options.data_dir + "/spice.pem" |
|
126 |
options.SPICE_CACERT_FILE = options.data_dir + "/spice-ca.pem" |
|
127 | 125 |
options.RAPI_USERS_FILE = options.data_dir + "/rapi/users" |
128 | 126 |
options.RAPI_USERS_FILE_PRE24 = options.data_dir + "/rapi_users" |
129 | 127 |
options.CONFD_HMAC_KEY = options.data_dir + "/hmac.key" |
... | ... | |
224 | 222 |
backup=True) |
225 | 223 |
|
226 | 224 |
if not options.dry_run: |
227 |
bootstrap.GenerateClusterCrypto(False, False, False, False, False, |
|
228 |
nodecert_file=options.SERVER_PEM_PATH, |
|
229 |
rapicert_file=options.RAPI_CERT_FILE, |
|
230 |
spicecert_file=options.SPICE_CERT_FILE, |
|
231 |
spicecacert_file=options.SPICE_CACERT_FILE, |
|
232 |
hmackey_file=options.CONFD_HMAC_KEY, |
|
233 |
cds_file=options.CDS_FILE) |
|
225 |
bootstrap.GenerateClusterCrypto(False, False, False, False, |
|
226 |
nodecert_file=options.SERVER_PEM_PATH, |
|
227 |
rapicert_file=options.RAPI_CERT_FILE, |
|
228 |
hmackey_file=options.CONFD_HMAC_KEY, |
|
229 |
cds_file=options.CDS_FILE) |
|
234 | 230 |
|
235 | 231 |
except Exception: |
236 | 232 |
logging.critical("Writing configuration failed. It is probably in an" |
Also available in: Unified diff