Hello community, here is the log from the commit of package yast2-fcoe-client for openSUSE:Factory checked in at 2018-03-11 18:02:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-fcoe-client (Old) and /work/SRC/openSUSE:Factory/.yast2-fcoe-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-fcoe-client" Sun Mar 11 18:02:40 2018 rev:46 rq:585014 version:3.1.16 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-fcoe-client/yast2-fcoe-client.changes 2017-09-21 12:31:15.061612332 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-fcoe-client.new/yast2-fcoe-client.changes 2018-03-11 18:02:42.708425267 +0100 @@ -1,0 +2,7 @@ +Wed Mar 7 14:00:29 UTC 2018 - knut.anders...@suse.com + +- Fix wrong interface name with auto_vlan=yes also during an + auto-installation (bsc#1078991) +- 3.1.16 + +------------------------------------------------------------------- Old: ---- yast2-fcoe-client-3.1.15.tar.bz2 New: ---- yast2-fcoe-client-3.1.16.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-fcoe-client.spec ++++++ --- /var/tmp/diff_new_pack.PBbkJb/_old 2018-03-11 18:02:43.360401894 +0100 +++ /var/tmp/diff_new_pack.PBbkJb/_new 2018-03-11 18:02:43.360401894 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-fcoe-client # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-fcoe-client -Version: 3.1.15 +Version: 3.1.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-fcoe-client-3.1.15.tar.bz2 -> yast2-fcoe-client-3.1.16.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-3.1.15/package/yast2-fcoe-client.changes new/yast2-fcoe-client-3.1.16/package/yast2-fcoe-client.changes --- old/yast2-fcoe-client-3.1.15/package/yast2-fcoe-client.changes 2017-09-18 11:10:14.469313087 +0200 +++ new/yast2-fcoe-client-3.1.16/package/yast2-fcoe-client.changes 2018-03-09 14:12:32.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Mar 7 14:00:29 UTC 2018 - knut.anders...@suse.com + +- Fix wrong interface name with auto_vlan=yes also during an + auto-installation (bsc#1078991) +- 3.1.16 + +------------------------------------------------------------------- Fri Sep 15 11:31:03 UTC 2017 - mvid...@suse.com - Fix wrong interface name with auto_vlan=yes (bsc#1043419) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-3.1.15/package/yast2-fcoe-client.spec new/yast2-fcoe-client-3.1.16/package/yast2-fcoe-client.spec --- old/yast2-fcoe-client-3.1.15/package/yast2-fcoe-client.spec 2017-09-18 11:10:14.473313087 +0200 +++ new/yast2-fcoe-client-3.1.16/package/yast2-fcoe-client.spec 2018-03-09 14:12:32.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-fcoe-client -Version: 3.1.15 +Version: 3.1.16 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-fcoe-client-3.1.15/src/clients/fcoe-client_auto.rb new/yast2-fcoe-client-3.1.16/src/clients/fcoe-client_auto.rb --- old/yast2-fcoe-client-3.1.15/src/clients/fcoe-client_auto.rb 2017-09-18 11:10:14.473313087 +0200 +++ new/yast2-fcoe-client-3.1.16/src/clients/fcoe-client_auto.rb 2018-03-09 14:12:32.000000000 +0100 @@ -150,11 +150,14 @@ output = {} ifcfg_file = "" status_map = {} - if Ops.get_string(card, "fcoe_vlan", "") == FcoeClient.NOT_CONFIGURED - command = Builtins.sformat( - "fipvlan -c -s %1", - Ops.get_string(card, "dev_name", "") - ) + dev_name = card["dev_name"] + if card["fcoe_vlan"] == FcoeClient.NOT_CONFIGURED + if card["auto_vlan"] == "yes" + command = "fipvlan -c -s -f '-fcoe' #{dev_name}" + else + command = "fipvlan -c -s #{dev_name}" + end + ifcfg_file = Builtins.sformat( "/etc/sysconfig/network/ifcfg-%1.%2", Ops.get_string(card, "dev_name", ""),