dracut/modules.d/40network
Praveen_Paladugu@Dell.com f4eb0d9804 Installing an OS with VLAN enabled to an ISCSI LUN (from ibft)
When installing OS to a VLAN enabled iscsi LUN (extracted from iBFT), "/tmp/net.{xyz}.has_ibft_config" is not being set properly.

Then anaconda installer requires 'BOOTPROTO="ibft"' populated in ifcfg of the vlan interface (ex: ibft0.20), for it to properly populate the kernel parameters post installation. The setting 'BOOTPROTO="ibft"' is populated by write-ifcfg.sh script only if the corresponding interface has a file /tmp/net.{xyz}.has_inft_config

To get around this issue, in ibft_to_cmdline() function in net-lib.sh file, I made the following changes to populate the has_ibft_config file for the vlan interface(ex: ibft0.20):
2014-07-17 16:36:39 +02:00
..
dhclient-script.sh network: DCHPv6: set valid_lft and preferred_lft 2014-04-02 09:58:11 +02:00
dhclient.conf removed trailing whitespaces 2011-05-10 11:56:09 +02:00
dhcp-root.sh Rewrite "rootok" and "netroot" logic 2013-09-04 09:49:19 +02:00
ifname-genrules.sh network/ifname-genrules.sh: check for multiple ifname= lines 2012-07-06 12:57:17 +02:00
ifup.sh network/ifup.sh: Don't try to modprobe ipv6, if already available 2014-06-03 12:49:56 +02:00
kill-dhclient.sh 40network/kill-dhclient.sh: kill dhclient silently 2012-03-08 10:58:16 +01:00
module-setup.sh Factor out all the "type -V" commands 2014-02-06 16:45:20 +01:00
net-genrules.sh network: merge setup_net_$netif.ok and net.$netif.did-setup 2014-02-28 12:10:41 +01:00
net-lib.sh Installing an OS with VLAN enabled to an ISCSI LUN (from ibft) 2014-07-17 16:36:39 +02:00
netroot.sh Rewrite "rootok" and "netroot" logic 2013-09-04 09:49:19 +02:00
parse-bond.sh network: support multiple bonding interfaces 2013-04-09 10:52:22 +02:00
parse-bridge.sh network: support multiple bonding interfaces 2013-04-09 10:52:22 +02:00
parse-ibft.sh deprecate "ip=ibft" kernel command line parameter 2014-06-20 14:27:09 +02:00
parse-ifname.sh network: factor out parse_ifname_opts() for ifname-genrules 2012-07-05 14:33:45 +02:00
parse-ip-opts.sh deprecate "ip=ibft" kernel command line parameter 2014-06-20 14:27:09 +02:00
parse-team.sh dracut: add team device support 2012-12-14 09:06:51 +01:00
parse-vlan.sh Fixup script permissions 2013-12-05 15:13:29 +01:00