fix: remove non-acme hypervisor domains from cert

This commit is contained in:
2022-12-26 00:27:17 +01:00
parent 0fd1ea03c2
commit 6976980b96
2 changed files with 3 additions and 1 deletions

View File

@@ -52,6 +52,9 @@ if __name__ == "__main__":
domains = []
for vmo in vmList:
for subdomain in vmo.subdomains:
if vmo.noTerminateACME:
print("Not terminating ACME for: {}".format(subdomain))
continue
if type(subdomain) == dict:
domains.append(subdomain["name"])
else: