[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Static IP Addressing



No, there is only the one network. Something does not like my
specification of a static IP address and replaces it with a default DHCP
configuration. I have the same problem on every machine I try to specify
a static IP address.

On Sun, 2013-03-24 at 10:54 -0400, Harry Hoffman wrote:
> Is there a spurious network in there?
> 
> -------- Original Message --------
> From: Dean Hunter 
> Sent: Sat, Mar 23, 2013 10:30 PM
> To: kickstart-list redhat com
> CC: 
> Subject: Static IP Addressing
> 
> 
> 
> 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 
> 
> _______________________________________________ 
> Kickstart-list mailing list 
> Kickstart-list redhat com 
> https://www.redhat.com/mailman/listinfo/kickstart-list 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]