<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I wrote a kickstart cgi that incorporates our machine database so I can dump the correct netinfo based on incoming mac address.  so all I have to do it enter the mac/ip into a table and boot the machine.  the kickme cgi then returns the correct info and autopopulates the network config data based on settings we have on our internal subnets.   you don't need anything that fancy though, just complete the network config in the kickstart.cfg output<div><br></div><div><br></div><div><br></div><div><div>skipx</div><div>network --device eth0 --bootproto static --ip 192.168.20.189 --netmask 255.255.2</div><div>55.0 --gateway 192.168.20.254 --nameserver 192.168.20.96 --hostname something.something.something</div><div>rootpw --iscrypted yadayada</div><div><br></div><div><br></div><div>and it's completely automated</div><div><br></div><div><div>On Apr 24, 2008, at 9:24 PM, <a href="mailto:kickstart-list-request@redhat.com">kickstart-list-request@redhat.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Hi Jake,</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><span class="Apple-tab-span" style="white-space:pre">      </span>In the %pre section of the ks file, I run a python script that</font></div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">is<span class="Apple-converted-space"> </span></font></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">VERY derived from the anaconda network_text.py code. This allows the<span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">installer to input the required network info. After which the rest of<span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">the install is automated. I can prefill the subnet, ip to last octet,<span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">DNS server... If you don't have fancy requirements, you should be able</font></div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">to import network_text *, and call the various modules from anaconda<span class="Apple-converted-space"> </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">to provide netconfig functionality. Yeah Kickstart! And long live yum.</font></div> </blockquote></blockquote></div><br></div></body></html>