No way to change the order that I have seen  - but search the list for some of my old posts. There are a couple with specific instructions on what I did to provide the hostname functionality you describe.<br><br><div class="gmail_quote">
2010/1/11 Rob Becker <span dir="ltr"><<a href="mailto:robert_becker@stercomm.com">robert_becker@stercomm.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm working on moving my existing kickstart process to SpaceWalk and I'm<br>
running into show stopper.  I want to be able to set the hostname of the<br>
server at the PXE config and have that hostname registered to<br>
Spacewalk.<br>
<br>
I have tried a pre-script that reads in a 'hostname' variable from the<br>
PXE commandline and then runs 'hostname $hostname'.  I have also tried a<br>
post script that does something quite similar.<br>
<br>
No matter what I do, when the redhat_register snippet is run the<br>
hostname is not set.  The servers keep showing up as "Unknown".  How is<br>
everyone else automating the installation and registering of servers?<br>
<br>
Also, where can I go to change the order of the built in snippets?  Is<br>
there a default template for the kickstart some place?<br>
<br>
<br>
Thanks.<br>
-Rob<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote></div><br>