You are correct.  I have bootproto=static.    At this point, this is what I have:<br><br>text<br>install<br>key dfsdfgsdggsdg<br>lang en_US.UTF-8<br>langsupport --default en_US.UTF-8 en_US.UTF-8<br>keyboard us<br>mouse genericwheelps/2 --device psaux
<br>skipx<br>nfs --server <a href="http://192.168.49.26">192.168.49.26</a> --dir /vol/vol1/vmimages/kickstart/RH5-server-i386<br>network --bootproto static --device eth0 --nameserver <a href="http://192.168.49.107">192.168.49.107
</a> --netmask <a href="http://255.255.255.0">255.255.255.0</a><br>rootpw --iscrypted $1$rGjAQdLQm$LNgsdfsVF/TjfszJB6T<br>firewall --disabled<br>authconfig --enableshadow --enableldap --enableldapauth --ldapserver <a href="http://ldaps.ourdomain.com">
ldaps.ourdomain.com</a> --ldapbasedn dc=ourdomain,dc=com<br>selinux --disabled<br>timezone --utc America/Chicago<br>bootloader --location=mbr<br>repo --name=repo --baseurl=<a href="http://repo.ourdomain.com/linux/4/$ARCH">
http://repo.ourdomain.com/linux/4/$ARCH</a>  ###  This part is still broken.<br>reboot<br><br>%packages<br>%include /mnt/config/includes/RHEL5_packages<br>firstboot<br><br>%pre<br># nfs mount the config directory so that we can use %include
<br># in this file to make things cleaner.<br>mkdir /mnt/config<br>mount -t nfs 192.168.49.26:/vol/vol1/vmimages/kickstart/configs /mnt/config<br><br>%post --nochroot<br>cp /mnt/config/includes/* /mnt/sysimage/root<br>chmod +x /mnt/sysimage/root/system_setup.sh
<br><br>#system_setup.sh used to live here in %post and I will be moving it back in with a %include rather than copying the file to the host if that will #work.   For some reason, my hostname still does not get set up in /etc/sysconfig/network even though I pass hostname, ip, and 
<br><br>Kit<br><br><br><br><br><div><span class="gmail_quote">On 8/30/07, <b class="gmail_sendername">Ed Brown</b> <<a href="mailto:ebrown@lanl.gov">ebrown@lanl.gov</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It does the reverse lookup  even before it gets the kickstart file,<br>and flashes a screen telling you it's doing that, though often that<br>goes by so fast you don't see it.  You can also watch for it on alt-F3<br>
(or 4?) though.  I don't know when it writes /etc/sysconfig/network,<br>but it's there in %post without my doing anything.  You do have have<br>the 'network --bootproto=static' line in the kickstart file?<br>
<br>-ed<br><br><br>Kit Stube wrote:<br>> Come to think of it, I have seen the behavior where the system appears to<br>> have done a reverse lookup of its self and set it's own hostname.  :-)<br>> That's perfect.  At what point during the install process does it do that?
<br>><br>> Thanks again for all of the great info everyone.<br>><br>> Kit<br>><br>><br>> On 8/30/07, Ed Brown <<a href="mailto:ebrown@lanl.gov">ebrown@lanl.gov</a>> wrote:<br>>> To say this another way, it is not necessary to enter hostname as a
<br>>> boot parameter, assuming the ip address can be resolved.<br>>><br>>> Ed Brown wrote:<br>>>> hostname won't be set during the %post scriptlet without some help, but<br>>>> it should be set on reboot just fine.  To set it for the sake of
<br>>>> commands in %post (for example, if you need to run cfengine):<br>>>><br>>>> hostname `grep HOSTNAME /etc/sysconfig/network |cut -d'=' -f2`<br>>>><br>>>> But as the above implies, it should already be configured on reboot.
<br>>>><br>>>> -Ed<br>>>><br>>>><br>>>><br>>>> Kit Stube wrote:<br>>>>> That worked for the most part. Ed,  your a genious!<br>>>>><br>>>>> The only problem now is that it didn't set the hostname.  Is there
<br>>>>> some way<br>>>>> to use something like $hostname in post so I can set all that up?<br>>>>> Perhaps that was what Pablo was trying to tell me?    I don't<br>>>>> understand how
<br>>>>> to process /proc/commandline.    Does anyone have an example?<br>>>>> I would be greatly appreciative.<br>>>>><br>>>>> Kit<br>>>>><br>>>>><br>
>>>><br>>>>> On 8/30/07, Ed Brown <<a href="mailto:ebrown@lanl.gov">ebrown@lanl.gov</a>> wrote:<br>>>>>>> boot: ip=blah gateway=blah netmask=blah dns=blah<br>>>>>> This is not quite complete.  And actually, we make a custom boot cd,
<br>>>>>> with multiple targets that contain the common parameters, so all<br>>>>>> that's needed at the boot prompt is target, ip and gateway.  You'll<br>>>>>> probably need at least this:
<br>>>>>><br>>>>>> boot: linux ks=<a href="http://url_of_kickstart_file">http://url_of_kickstart_file</a> ip=... gateway=...<br>>>>>> netmask=... dns=...<br>>>>>>
<br>>>>>> -Ed<br>>>>>><br>>>>>> _______________________________________________<br>>>>>> Kickstart-list mailing list<br>>>>>> <a href="mailto:Kickstart-list@redhat.com">
Kickstart-list@redhat.com</a><br>>>>>> <a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a><br>>>>>><br>>>>>
<br>>>>><br>>> ------------------------------------------------------------------------<br>>>>> _______________________________________________<br>>>>> Kickstart-list mailing list
<br>>>>> <a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br>>>>> <a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list
</a><br>>>> _______________________________________________<br>>>> Kickstart-list mailing list<br>>>> <a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br>>>> <a href="https://www.redhat.com/mailman/listinfo/kickstart-list">
https://www.redhat.com/mailman/listinfo/kickstart-list</a><br>>> _______________________________________________<br>>> Kickstart-list mailing list<br>>> <a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com
</a><br>>> <a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a><br>>><br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> Kickstart-list mailing list<br>> <a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/kickstart-list">
https://www.redhat.com/mailman/listinfo/kickstart-list</a><br><br>_______________________________________________<br>Kickstart-list mailing list<br><a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a><br></blockquote></div><br>