]> git.ipfire.org Git - thirdparty/dracut.git/commit
Installing an OS with VLAN enabled to an ISCSI LUN (from ibft)
authorPraveen_Paladugu@Dell.com <Praveen_Paladugu@Dell.com>
Tue, 10 Jun 2014 15:35:16 +0000 (10:35 -0500)
committerHarald Hoyer <harald@redhat.com>
Thu, 17 Jul 2014 14:36:39 +0000 (16:36 +0200)
commitf4eb0d98048d51a0782d4a7137f699de174a65e4
treea6301412b53fc880d49a424bfd682ab50ce9ccd2
parent5ea0be0a8c83969fd0041b3e647f82fcfb365e44
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):
modules.d/40network/net-lib.sh