f511ebe400
virt-install virtman-s390x-default-to-vminstall.patch - bnc#890350 - Can't create virtual networks through virt-manager 53ad17e6-createnet-fix-a-small-pylint.patch - Upstream bug fix 53ce11d1-honor-untoggled-set-fixed-MAC-address.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=192
25 lines
1017 B
Diff
25 lines
1017 B
Diff
Subject: virt-manager, create: honor untoggled "Set a fixed MAC address"
|
|
From: Giuseppe Scrivano gscrivan@redhat.com Mon Jul 21 11:28:28 2014 +0200
|
|
Date: Tue Jul 22 09:25:05 2014 +0200:
|
|
Git: 312b349fceffec38dd04aa35d053b082fe698f3a
|
|
|
|
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1083461
|
|
|
|
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
|
|
|
Index: virt-manager-1.0.1/virtManager/create.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/create.py
|
|
+++ virt-manager-1.0.1/virtManager/create.py
|
|
@@ -1674,7 +1674,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:
|