<html><head/><body><p style="color:#000000;">There seems be to a network before activate and a network before hostname, no?<br><br>Cheers,<br>Harry<br><br>-------- Original Message --------<br> From: Dean Hunter <DeanHunter@comcast.net><br> Sent: Sun, Mar 24, 2013 06:13 PM<br> To: Discussion list about Kickstart <kickstart-list@redhat.com><br> CC: <br> Subject: Re: Static IP Addressing<br><br></p>No, there is only the one network. Something does not like my <br>
specification of a static IP address and replaces it with a default DHCP <br>
configuration. I have the same problem on every machine I try to specify <br>
a static IP address. <br>
<br>
On Sun, 2013-03-24 at 10:54 -0400, Harry Hoffman wrote: <br>
> Is there a spurious network in there? <br>
>  <br>
> -------- Original Message -------- <br>
> From: Dean Hunter  <br>
> Sent: Sat, Mar 23, 2013 10:30 PM <br>
> To: kickstart-list@redhat.com <br>
> CC:  <br>
> Subject: Static IP Addressing <br>
>  <br>
>  <br>
>  <br>
> Why does this kickstart file:  <br>
>  <br>
> authconfig --enableshadow --passalgo=sha512  <br>
> autopart --type=lvm  <br>
> bootloader --boot-drive=vda --location=mbr  <br>
> cdrom  <br>
> clearpart --all --drives=vda --initlabel  <br>
> firstboot --disable  <br>
> ignoredisk --only-use=vda  <br>
> install  <br>
> keyboard --vckeymap=us --xlayouts=us  <br>
> lang en_US.UTF-8  <br>
> network --activate --bootproto=static --device=eth0  <br>
> --gateway=<a href="http://192.168.1.254">192.168.1.254</a> --ip=<a href="http://192.168.1.12">192.168.1.12</a> --nameserver=<a href="http://75.75.76.76">75.75.76.76</a>  <br>
> --netmask=<a href="http://255.255.255.0">255.255.255.0</a> --noipv6  <br>
> network --hostname=<a href="http://lamp.hunter.org">lamp.hunter.org</a>  <br>
> rootpw --iscrypted \$6\$82gtiKgE7AvH./ic\  <br>
> $TeDjrPrkQ19ULsPEzxStyqzkfRaGvKn0NpSB4ekV98hJOABaO5uQDzQmlCy8t7RwytXzS3t/yRyGZA.8ez2wf/  <br>
> reboot  <br>
> text  <br>
> timezone America/Chicago --isUtc --ntpservers=<a href="http://192.168.1.11">192.168.1.11</a>  <br>
> xconfig --startxonboot  <br>
>  <br>
> produce this network configuration:  <br>
>  <br>
> 22:52:57,773 DEBUG ifcfg: content of files (network initialization):  <br>
> 22:52:57,774 DEBUG ifcfg: /etc/sysconfig/network-scripts/ifcfg-eth0:  <br>
> # Generated by dracut initrd  <br>
> DEVICE=eth0  <br>
> ONBOOT=yes  <br>
> NETBOOT=yes  <br>
> UUID=5edcb3fc-f4b5-4ce7-98d2-bde0f02a5e2b  <br>
> BOOTPROTO=none  <br>
> IPADDR=  <br>
> PREFIX=  <br>
> HWADDR="52:54:00:19:88:c9"  <br>
> TYPE=Ethernet  <br>
> NAME="Boot Disk"  <br>
> DNS1=<a href="http://75.75.76.76">75.75.76.76</a>  <br>
>  <br>
> 22:52:57,819 DEBUG ifcfg:  <br>
> loadIfcfFile /etc/sysconfig/network-scripts/ifcfg-eth0  <br>
> 22:52:57,830 DEBUG ifcfg: NetworkDevice eth0 set: ONBOOT=yes  <br>
> 22:52:57,834 DEBUG ifcfg: writeIfcfgFile eth0  <br>
> to /etc/sysconfig/network-scripts/ifcfg-eth0 not needed  <br>
> 22:52:57,870 DEBUG ifcfg:  <br>
> loadIfcfFile /etc/sysconfig/network-scripts/ifcfg-eth0  <br>
> 22:52:57,872 DEBUG ifcfg: NetworkDevice eth0 set: ONBOOT=yes  <br>
> 22:52:57,873 DEBUG ifcfg: writeIfcfgFile eth0  <br>
> to /etc/sysconfig/network-scripts/ifcfg-eth0 not needed  <br>
> 23:02:32,739 DEBUG ifcfg:  <br>
> loadIfcfFile /etc/sysconfig/network-scripts/ifcfg-eth0  <br>
> 23:02:32,756 DEBUG ifcfg:  <br>
> loadIfcfFile /mnt/sysimage/etc/sysconfig/network-scripts/ifcfg-eth0  <br>
>  <br>
> _______________________________________________  <br>
> Kickstart-list mailing list  <br>
> Kickstart-list@redhat.com  <br>
> <a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a>  <br>
<br>
<br>
_______________________________________________ <br>
Kickstart-list mailing list <br>
Kickstart-list@redhat.com <br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a> <br>
</body></html>