feature: the VPN, the router, the name server and WebDAV are components switched on the System tab and installed on demand, Caddy from the Ubuntu archive is a dependency and serves every HTTP and HTTPS port, HTTPS is chosen at install, its certificate is of the Servers Issuing CA or self-signed by default, of ACME or of another CA, the issuing CAs are in one tab, a locked account is unlocked again, the name of a CA is fixed once the CA exists, and a run of setup is no longer cut short by a change.
Release / release (push) Failing after 8s
Release / release (push) Failing after 8s
This commit is contained in:
1 parent
a649331aa2
commit
a7bfabcb89
97 files changed
+4498
-1834
No files matched your search
@@ -7,8 +7,8 @@ this script never writes to /etc and never has to worry about destroying an
|
||||
administrator's edits.
|
||||
|
||||
The candidate is the current /etc/linux-manager/linux-manager.json as it is, or the
|
||||
shipped defaults when there is none, with every debconf answer that was given
|
||||
written over it. Without an answer that changes it, the candidate is the current
|
||||
shipped defaults when there is none, with https.certificate empty for the first
|
||||
setup to choose, with every debconf answer that was given written over it. Without an answer that changes it, the candidate is the current
|
||||
file byte for byte, so
|
||||
an upgrade or a reconfiguration that changes nothing gives ucf nothing to ask;
|
||||
defaults the file leaves out are applied by linuxmanager.load_config() when the
|
||||
@@ -43,6 +43,8 @@ ANSWERS = {
|
||||
'LINUX_MANAGER_EXTERNAL_INTERFACE': (('interfaces', 'external'),),
|
||||
'LINUX_MANAGER_INTERNAL_INTERFACE': (('interfaces', 'internal'),),
|
||||
'LINUX_MANAGER_LOCAL_FQDN': (('wan', 'local_fqdn'),),
|
||||
'LINUX_MANAGER_HTTPS_ENABLED': (('https', 'enabled'),),
|
||||
'LINUX_MANAGER_HTTPS_DISABLE_AUTO_REDIRECT': (('https', 'disable_auto_redirect'),),
|
||||
'LINUX_MANAGER_LOCAL_ID_MODE': ((*FIRST, 'local_id_mode'),),
|
||||
'LINUX_MANAGER_LOCAL_CIDRS': (('local', 'cidrs'), (*FIRST, 'local_cidrs')),
|
||||
'LINUX_MANAGER_INT_GATEWAY_IP': (('local', 'int_gateway_ip'),),
|
||||
@@ -73,6 +75,8 @@ def main():
|
||||
current = None
|
||||
if current is None:
|
||||
cfg = linuxmanager.load_config()
|
||||
# A new installation leaves the source of the HTTPS certificate to its first setup.
|
||||
cfg['https']['certificate'] = ''
|
||||
else:
|
||||
try:
|
||||
cfg = json.loads(current)
|
||||
|
||||
Reference in new issue
Block a user