[rhel6-branch] fcoe: modprobe the VLAN layer module.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Related: rhbz#641420
---
 storage/fcoe.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/storage/fcoe.py b/storage/fcoe.py
index c8b957d..568f55d 100644
--- a/storage/fcoe.py
+++ b/storage/fcoe.py
@@ -133,6 +133,9 @@ class fcoe(object):
             # Ideally, this should be done by checking a "AUTO_VLAN" parameter,
             # not bnx2x driver usage
             if 'bnx2x' in os.path.realpath('/sys/class/net/%s/device/driver' %(nic)):
+                # certain network configrations require the VLAN layer module:
+                iutil.execWithRedirect("modprobe", ["8021q"],
+                                       stdout = "/dev/tty5", stderr="/dev/tty5")
                 iutil.execWithRedirect("fipvlan", ['-c', '-s', nic],
                                     stdout = "/dev/tty5", stderr="/dev/tty5")
             else:
-- 
1.7.6.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux