Come to think of it, I have seen the behavior where the system appears to have done a reverse lookup of its self and set it's own hostname.  :-)   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><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;">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>>> _______________________________________________<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><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>