From d61f9d99958be45f1c53f5440ba8ccba13d3db69 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 14 Jun 2019 21:11:37 -0400 Subject: [PATCH] details: Check for mac conflict in customize wizard https://bugzilla.redhat.com/show_bug.cgi?id=1660467 --- virtManager/details.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/virtManager/details.py b/virtManager/details.py index 63e50d6ca..34547f923 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -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()