]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
95fcoe: always set AUTO_VLAN for fcoemon
authorHannes Reinecke <hare@suse.de>
Wed, 24 Aug 2016 10:26:04 +0000 (12:26 +0200)
committerDaniel Molkentin <danimo@molkentin.de>
Mon, 18 Dec 2017 20:48:05 +0000 (21:48 +0100)
fcoemon is well capable of figuring out whether a vlan should
be used, so there's no need to disable the AUTO_VLAN feature.

References: bsc#995019

Signed-off-by: Hannes Reinecke <hare@suse.com>
modules.d/95fcoe/fcoe-up.sh

index 55ab235a2ae18030c4f5356f9205b9c029e86792..c2da0be21ab4615c562b522c191df32998af1187 100755 (executable)
@@ -99,13 +99,8 @@ elif [ "$dcb" = "dcb" ]; then
     done
 
     sleep 1
-
-    write_fcoemon_cfg
-    fcoemon $syslogopt
-else
-    vlan="no"
-    write_fcoemon_cfg
-    fcoemon $syslogopt
 fi
+write_fcoemon_cfg
+fcoemon $syslogopt
 
 need_shutdown