mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 21:18:04 +03:00
details: Check for mac conflict in customize wizard
https://bugzilla.redhat.com/show_bug.cgi?id=1660467
This commit is contained in:
parent
d40975c493
commit
d61f9d9995
@ -1791,6 +1791,8 @@ class vmmDetails(vmmGObjectUI):
|
||||
|
||||
if self.edited(EDIT_NET_MAC):
|
||||
kwargs["macaddr"] = self.widget("network-mac-entry").get_text()
|
||||
virtinst.DeviceInterface.is_conflict_net(
|
||||
self.conn.get_backend(), kwargs["macaddr"])
|
||||
|
||||
if self.edited(EDIT_NET_LINKSTATE):
|
||||
kwargs["linkstate"] = self.widget("network-link-state-checkbox").get_active()
|
||||
|
Loading…
Reference in New Issue
Block a user