mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
fix: remove non-acme hypervisor domains from cert
This commit is contained in:
3
main.py
3
main.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user