Anaconda static network setup in RHEL6

Lukas Zapletal <[email protected]>
Newsgroups gmane.linux.redhat.anaconda.devel
Message-ID <[email protected]>
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, the 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.

Thanks for help!

-- lz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.