[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Not really a kickstart question.....



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



skipx
network --device eth0 --bootproto static --ip 192.168.20.189 --netmask 255.255.2
55.0 --gateway 192.168.20.254 --nameserver 192.168.20.96 --hostname something.something.something
rootpw --iscrypted yadayada


and it's completely automated

On Apr 24, 2008, at 9:24 PM, kickstart-list-request redhat com wrote:


Hi Jake,

In the %pre section of the ks file, I run a python script that
is 
VERY derived from the anaconda network_text.py code. This allows the 
installer to input the required network info. After which the rest of 
the install is automated. I can prefill the subnet, ip to last octet, 
DNS server... If you don't have fancy requirements, you should be able

to import network_text *, and call the various modules from anaconda 
to provide netconfig functionality. Yeah Kickstart! And long live yum.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]