Multiple ks.cfg's on a single boot media?

Robert Wehner rwehner at gmail.com
Fri Sep 30 15:19:53 UTC 2005


On 9/30/05, Daniel Segall <dan at half-asleep.com> wrote:
> Hey Guys,
>
> I am experimenting with moving my pxe based kickstart system to a bootable
> media/network install. Currently I have my kickstart server on a private
> network, with everything centrally located on that server. I then connect
> servers to that network and boot them into pxe, where my menu of images
> will pop up. This works great, but it's a pain in the ass because I have
> to physically connect all of the systems to my network in order to kick
> them.
>
> What I would like to do is setup a cd containing all of my boot images,
> kickstart configs, post install scripts, etc. Then just do http installs
> over the public network. I know how to create the boot iso with
> everything, but i'm not sure how to specify the individual ks.cfg's for
> each image in the isolinux.cfg. With a single config, I could just use
> ks=cdrom. Is it possible to use a path with this?

It is possible. I update the isolinux.cfg file to append extra stanzas
for each ks.cfg on the CD. Something like:

label webserver
  kernel vmlinuz
  append initrd=initrd.img ks=cdrom:/webserver.ks.cfg
label database
  kernel vmlinuz
  append initrd=initrd.img ks=cdrom:/database.ks.cfg

At the boot prompt the user just types in 'database' or 'webserver' to
get the correct config. they type nothing if they want an interactive
install.

--
----
Robert Wehner
rwehner at gmail.com




More information about the Kickstart-list mailing list