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

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

 



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@xxxxxxxxxx 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.

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux