This commit is contained in:
brent s. 2020-08-02 03:50:52 -04:00
parent 50d2f7138e
commit 539c4bf465
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -94,7 +94,7 @@ class VMManager(object):
for dom in self.conn.listAllDomains(flags = _findflags): for dom in self.conn.listAllDomains(flags = _findflags):
domnet = DomainNetwork(dom) domnet = DomainNetwork(dom)
domnet.get_nets(netnames) domnet.get_nets(netnames)
if dom.ifaces: if domnet.ifaces:
doms[uuid.UUID(bytes = dom.UUID())] = domnet doms[uuid.UUID(bytes = dom.UUID())] = domnet
for n in self.networks: for n in self.networks:
n.destroy() n.destroy()