From f1f73ff14ad0f36f6318c976c14f8ef39e2ac9b1 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Fri, 16 Jan 2015 21:58:53 +0000 Subject: [PATCH] - bnc#909348 - Can't create virtual NAT network - interface name `net_wlp16s0_00_1f_3b_59_61_3d' must be shorter than IFNAMSIZ 65f7017e-createnet-fix.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=217 --- 65f7017e-createnet-fix.patch | 19 +++++++++++++++++++ virt-manager.changes | 7 +++++++ virt-manager.spec | 3 +++ 3 files changed, 29 insertions(+) create mode 100644 65f7017e-createnet-fix.patch diff --git a/65f7017e-createnet-fix.patch b/65f7017e-createnet-fix.patch new file mode 100644 index 00000000..2c3c7c90 --- /dev/null +++ b/65f7017e-createnet-fix.patch @@ -0,0 +1,19 @@ +Subject: createnet: Fix creating network with forward device +From: Charles Arnold carnold@suse.com Fri Jan 16 13:29:09 2015 -0500 +Date: Fri Jan 16 13:30:36 2015 -0500: +Git: 65f7017eaf775af4c817b16d525256cd25aef160 + + +diff --git a/virtManager/createnet.py b/virtManager/createnet.py +index 6c0634c..18cadf1 100644 +--- a/virtManager/createnet.py ++++ b/virtManager/createnet.py +@@ -174,7 +174,7 @@ class vmmCreateNetwork(vmmGObjectUI): + + devnames = [] + for nodedev in self.conn.get_nodedevs("net"): +- devnames.append(nodedev.name) ++ devnames.append(nodedev.interface) + for iface in self.conn.list_interfaces(): + if iface.get_name() not in devnames: + devnames.append(iface.get_name()) diff --git a/virt-manager.changes b/virt-manager.changes index 9f560a9b..d0d17098 100644 --- a/virt-manager.changes +++ b/virt-manager.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 16 09:40:12 MST 2015 - carnold@suse.com + +- bnc#909348 - Can't create virtual NAT network - interface name + `net_wlp16s0_00_1f_3b_59_61_3d' must be shorter than IFNAMSIZ + 65f7017e-createnet-fix.patch + ------------------------------------------------------------------- Wed Dec 10 08:52:01 MST 2014 - carnold@suse.com diff --git a/virt-manager.spec b/virt-manager.spec index 419d1465..6845fcdf 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define with_guestfs 0 %define askpass_package "openssh-askpass" %define qemu_user "qemu" @@ -36,6 +37,7 @@ Source0: %{name}-%{version}.tar.bz2 Source1: virt-install.rb Source2: virt-install.desktop # SUSE Only +Patch1: 65f7017e-createnet-fix.patch Patch70: virtman-desktop.patch Patch71: virtman-kvm.patch Patch72: virtman-keycombo.patch @@ -160,6 +162,7 @@ machine). %prep %setup -q # SUSE Only +%patch1 -p1 %patch70 -p1 %patch71 -p1 %patch72 -p1