About kickstart 'network --device=MAC'

Romu <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
Hi,

RHEL5 and RHEL6 recognizes nic in different order, I think using MAC
address may avoid potential trouble.  I  tried 'network --device=MAC
address' in kickstart file but anaconda complains that device
'00:21:28:A5:69:62' cannot be found on the system, I also tried lower
case, no luck.  If I change all MAC address to eth0, eth1 and eth2,
the installation goes fine.

Anaconda is 11.1.2 in RHEL5,  Kickstart version is 'RHEL5', generated
by pykickstart:

#version=RHEL5

# Use text mode install
text
# Firewall configuration
firewall --disabled
# System keyboard
keyboard us
# System language
lang en_US.UTF-8
# Root password
rootpw password
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# Use network installation
url --url="http://abc.com/pub/5-x86_64-dvd.iso/"
# Reboot after installation
reboot
# System timezone
timezone  America/Los_Angeles

# Network information
network  --bootproto=static --device=00:21:28:A5:69:62
--gateway=10.234.0.1 --hostname=test1.abc.com --ip=10.241.1.43
--nameserver=172.165.51.1,172.165.51.2 --netmask=255.255.252.0
network  --bootproto=static --device=00:21:28:A5:69:63
--gateway=10.176.88.1 --hostname=private1.abc.com --ip=10.176.86.133
--nameserver=10.176.84.5 --netmask=255.255.252.0
network  --bootproto=static --device=00:21:28:A5:69:64
--ip=10.176.150.43 --netmask=255.255.252.0

# System bootloader configuration
bootloader --location=mbr --driveorder="sda"
autopart
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all  --drives=sda

%packages



Any idea?

Thanks,
rmu
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.