Static IP Addressing

Dean Hunter <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
Why does this kickstart file:

authconfig --enableshadow --passalgo=sha512
autopart   --type=lvm
bootloader --boot-drive=vda --location=mbr
cdrom
clearpart  --all --drives=vda --initlabel
firstboot  --disable
ignoredisk --only-use=vda
install
keyboard   --vckeymap=us --xlayouts=us
lang         en_US.UTF-8
network    --activate --bootproto=static --device=eth0
--gateway=192.168.1.254 --ip=192.168.1.12 --nameserver=75.75.76.76
--netmask=255.255.255.0 --noipv6
network    --hostname=lamp.hunter.org
rootpw     --iscrypted \$6\$82gtiKgE7AvH./ic\
$TeDjrPrkQ19ULsPEzxStyqzkfRaGvKn0NpSB4ekV98hJOABaO5uQDzQmlCy8t7RwytXzS3t/yRyGZA.8ez2wf/
reboot
text
timezone     America/Chicago --isUtc --ntpservers=192.168.1.11
xconfig    --startxonboot

produce this network configuration:

22:52:57,773 DEBUG ifcfg: content of files (network initialization):
22:52:57,774 DEBUG ifcfg: /etc/sysconfig/network-scripts/ifcfg-eth0:
# Generated by dracut initrd
DEVICE=eth0
ONBOOT=yes
NETBOOT=yes
UUID=5edcb3fc-f4b5-4ce7-98d2-bde0f02a5e2b
BOOTPROTO=none
IPADDR=
PREFIX=
HWADDR="52:54:00:19:88:c9"
TYPE=Ethernet
NAME="Boot Disk"
DNS1=75.75.76.76

22:52:57,819 DEBUG ifcfg:
loadIfcfFile /etc/sysconfig/network-scripts/ifcfg-eth0
22:52:57,830 DEBUG ifcfg: NetworkDevice eth0 set: ONBOOT=yes
22:52:57,834 DEBUG ifcfg: writeIfcfgFile eth0
to /etc/sysconfig/network-scripts/ifcfg-eth0 not needed
22:52:57,870 DEBUG ifcfg:
loadIfcfFile /etc/sysconfig/network-scripts/ifcfg-eth0
22:52:57,872 DEBUG ifcfg: NetworkDevice eth0 set: ONBOOT=yes
22:52:57,873 DEBUG ifcfg: writeIfcfgFile eth0
to /etc/sysconfig/network-scripts/ifcfg-eth0 not needed
23:02:32,739 DEBUG ifcfg:
loadIfcfFile /etc/sysconfig/network-scripts/ifcfg-eth0
23:02:32,756 DEBUG ifcfg:
loadIfcfFile /mnt/sysimage/etc/sysconfig/network-scripts/ifcfg-eth0
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.