Home arrow Downloads arrow Linux Scripts arrow Kickstart script
Kickstart script PDF Print E-mail
Written by DjTremors   
Saturday, 08 September 2007

Some people asked me to do some sort of kickstart script so they can use the http url to grab a kickstart config but also pass some parameters to it as to change some minor things rather than having to make multiple files.

 

I did this simple template script which you will still need to tweak it to the number of different type of installs you will do but also makes it a little easier.

Minimum requirements are:

distro - installer path name used in the installer path ie http://internalwebserver/xeninstallerdistros/distro

 

Options are (underlined are defaults if not specified in the url):

fs - filesystem format. can be a simple lvm, home + var lvm or large root with no lvm
net - either static or dhcp.

(if static is used, you must also pass ip=ip address,nm=netmask. you can also pass gw=gateway,nm=netmask,ns=nameserver but not required.)

pkg - packages. these are grouped ie lamp=apache+mysql (php not added as distros can use php5 or just php and may effect script(??))

 

NOTE: If there is IPs are incorrect or missing and are required when using net=static, the installer will use dhcp as a fallback. Up to you to change what happens when you stuff up on the IP, etc.

 

Example usage:

http://yourwebserver/xendistros/?distro=debian4&net=static&ip=192.168.1.100&nm=255.255.255.0&fs=homevarlvm&pkg=db

http://yourwebserver/xendistros/?distro=rhel5&fs=simplelvm

 

Script is viewable at the following here .

 

Any questions or requests, please let me know.

djTremors.

Last Updated ( Sunday, 09 September 2007 )
 
< Prev   Next >

Buy great gadgets at

GetDigital