diff options
author | John Estabrook <jestabro@vyos.io> | 2024-01-29 11:17:12 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-01-29 11:22:38 -0600 |
commit | f057075409b024a18ea8a39b5e128fcde988c00e (patch) | |
tree | 5f3ffbebf8d4054ea98942787c30759b94204094 /src/migration-scripts | |
parent | 801359c2ebc724bd3dd1d4352502747d813f2d17 (diff) | |
download | vyos-1x-f057075409b024a18ea8a39b5e128fcde988c00e.tar.gz vyos-1x-f057075409b024a18ea8a39b5e128fcde988c00e.zip |
https: T6000: fix error in migration of path https certbot
Diffstat (limited to 'src/migration-scripts')
-rwxr-xr-x | src/migration-scripts/https/5-to-6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/migration-scripts/https/5-to-6 b/src/migration-scripts/https/5-to-6 index 6d6efd32c..0090adccb 100755 --- a/src/migration-scripts/https/5-to-6 +++ b/src/migration-scripts/https/5-to-6 @@ -43,11 +43,11 @@ if not config.exists(base): # Nothing to do sys.exit(0) -if config.exists(base + ['certificates']): +if config.exists(base + ['certificates', 'certbot']): # both domain-name and email must be set on CLI - ensured by previous verify() domain_names = config.return_values(base + ['certificates', 'certbot', 'domain-name']) email = config.return_value(base + ['certificates', 'certbot', 'email']) - config.delete(base + ['certificates']) + config.delete(base + ['certificates', 'certbot']) # Set default certname based on domain-name cert_name = 'https-' + domain_names[0].split('.')[0] |