fix: a configuration that names no HTTPS certificate source gets the first setup's choice, and the development VM of lm-dev-vm.py is named by --fqdn, so its HTTPS sites answer a name that resolves to it.
Release / release (push) Successful in 19s
Release / release (push) Successful in 19s
This commit is contained in:
1 parent
0cec95c19b
commit
7efacfa3bb
8 files changed
+43
-12
No files matched your search
@@ -1095,6 +1095,9 @@ def main():
|
||||
f'set general.platform in {linuxmanager.CONFIG_FILE}')
|
||||
progress('deferred', 'configuration', f'general.platform is none; set it in {linuxmanager.CONFIG_FILE}')
|
||||
return 0
|
||||
# Until a run has succeeded, a file that names no HTTPS certificate source leaves the choice to this run.
|
||||
if not SETUP_DONE.exists() and not linuxmanager.read_settings().get('https', {}).get('certificate'):
|
||||
cfg['https']['certificate'] = ''
|
||||
|
||||
# The directory holds the PKI, which the configuration needs; its problem ends setup only after every other step.
|
||||
failed_step = 'user directory'
|
||||
|
||||
Reference in new issue
Block a user