mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-05 20:58:31 +03:00
virt-manager, create: honor untoggled "Set a fixed MAC address"
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1083461 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
76fff97a5e
commit
312b349fce
@ -1722,7 +1722,9 @@ class vmmCreate(vmmGObjectUI):
|
||||
if not self.validate_storage_page():
|
||||
return False
|
||||
|
||||
macaddr = self.widget("config-macaddr").get_text().strip()
|
||||
macaddr = None
|
||||
if self.widget("config-macaddr").get_sensitive():
|
||||
macaddr = self.widget("config-macaddr").get_text().strip()
|
||||
nettype = self.netlist.get_network_selection()[0]
|
||||
|
||||
if nettype is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user