<div dir="ltr"><div>You're close...</div><div> </div><div>Try </div><div> </div><div>#!gpxe<br>ifstat<br>set net0/ip <host IP><br>set net0/gateway <gw address><br>set net0/netmask <netmask><br>set net0/dns <DNS address><br>
ifopen net0</div><div>initrd http://<rhn satellite address>/images/ks-rhel-x86_64-server-6-64/initrd.img</div><div>chain http://<rhn satellite address>/images/ks-rhel-x86_64-server-6-64/vmlinuz ks=http://<rhn satellite>/linux/rhel64/kickstart/ics-5.3.0.nolvm.ks</div>
<div> </div><div> </div><div>And while you're at it, try iPXE, the maintained successor to gPXE... <a href="http://www.ipxe.org">http://www.ipxe.org</a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, May 4, 2013 at 4:17 PM, Steve <span dir="ltr"><<a href="mailto:szemet1@yahoo.com.hk" target="_blank">szemet1@yahoo.com.hk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hi guys,</div><div><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
I would like to automate the server build using gPXE without having DHCP server running on the network.</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
The following configuration I came up so far</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
#!gpxe<br>ifstat<br>set net0/ip <host IP><br>set
net0/gateway <gw address><br>set net0/netmask <netmask><br>set net0/dns <DNS address><br>ifopen net0<br>kernel http://<rhn satellite address>/images/ks-rhel-x86_64-server-6-64/vmlinuz<br>initrd http://<rhn satellite address>/images/ks-rhel-x86_64-server-6-64/initrd.img<br>
boot</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
The server boots fine by downloading and running the kernel images, but unable to figure how to add the kickstart configuration file to this config.</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
I tried to add as a 'boot' parameter, but it
didn't start to install the binaries.</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
e.g.</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
boot ks=http://<rhn satellite>/linux/rhel64/kickstart/ics-5.3.0.nolvm.ks</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
Thank you in advance!</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">Regards,</div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">
<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:13.33px;font-style:normal;background-color:transparent">Steve<br></div></div></div><br>_______________________________________________<br>
gPXE mailing list<br>
<a href="mailto:gPXE@etherboot.org">gPXE@etherboot.org</a><br>
<a href="http://etherboot.org/mailman/listinfo/gpxe" target="_blank">http://etherboot.org/mailman/listinfo/gpxe</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>There is never time enough to do it right, but there always seems to be enough time to do it again.<br>
</div>