- 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
This commit is contained in:
Charles Arnold 2015-01-16 21:58:53 +00:00 committed by Git OBS Bridge
parent b78bd34b50
commit f1f73ff14a
3 changed files with 29 additions and 0 deletions

View File

@ -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())

View File

@ -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 Wed Dec 10 08:52:01 MST 2014 - carnold@suse.com

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define with_guestfs 0 %define with_guestfs 0
%define askpass_package "openssh-askpass" %define askpass_package "openssh-askpass"
%define qemu_user "qemu" %define qemu_user "qemu"
@ -36,6 +37,7 @@ Source0: %{name}-%{version}.tar.bz2
Source1: virt-install.rb Source1: virt-install.rb
Source2: virt-install.desktop Source2: virt-install.desktop
# SUSE Only # SUSE Only
Patch1: 65f7017e-createnet-fix.patch
Patch70: virtman-desktop.patch Patch70: virtman-desktop.patch
Patch71: virtman-kvm.patch Patch71: virtman-kvm.patch
Patch72: virtman-keycombo.patch Patch72: virtman-keycombo.patch
@ -160,6 +162,7 @@ machine).
%prep %prep
%setup -q %setup -q
# SUSE Only # SUSE Only
%patch1 -p1
%patch70 -p1 %patch70 -p1
%patch71 -p1 %patch71 -p1
%patch72 -p1 %patch72 -p1