Dracut/Anaconda static network setup

Hello,

I am trying to boot RHEL 6.x Anaconda on a system with multiple NICs. I
don't know how they will be initialized, therefore I have no idea what
ends up with eth0 and eth1 etc. But I know MAC address of the card I
want to provision with (download the kickstart) and I have IPv4
credentials.

Now, our documentation is a little bit fuzzy here. I was digging in the
Anaconda codebase. But no luck:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ap-a
dmin-options.html#sn-boot-options-network

Anaconda never configures me the proper device and always keep asking
to do manual network configuration. What is the trick here?

These are the variations I tried:

ks=http://myhost/my_kickstart.ks kssendmac ip=192.168.100.68 netmask=255.255.255.0
gateway=192.168.100.1 dns=192.168.100.1 ksdevice=52:54:00:11:86:41

ks=http://myhost/my_kickstart.ks kssendmac ip=192.168.100.68 netmask=255.255.255.0
gateway=192.168.100.1 dns=192.168.100.1 ifname=pr0:52:54:00:11:86:41 ksdevice=pr0

ks=http://myhost/my_kickstart.ks kssendmac ip=192.168.100.68 netmask=255.255.255.0
gateway=192.168.100.1 dns=192.168.100.1 ifname=pr0:52:54:00:11:86:41

ks=http://myhost/my_kickstart.ks kssendmac ip=192.168.100.68 netmask=255.255.255.0
gateway=192.168.100.1 dns=192.168.100.1 BOOTIF=00-52-54-00-11-86-41

I am also interested in doing the same on RHEL7 and no luck either!
Tried combinations like:

… ip=192.168.100.68::192.168.100.1:255.255.255.0:::none BOOTIF=00-52-54-00-11-86-41
… ip=192.168.100.68::192.168.100.1:255.255.255.0::52:54:00:11:86:41:none

In this case it's even worse, getting "System halted" dracut errors and
it does not make it into Anaconda.

I've sent this to Anaconda devel list as well, awaiting approval. I need to
solve this for the PXE-less discovery feature. It looks like in some cases
(multiple network cards) Anaconda won't start provisioning.

Any ideas?

··· -- Later, Lukas #lzap Zapletal