kickstart: reference floppy drive via %ksappend or %include
Posted
by
virtualeyes
on Server Fault
See other posts from Server Fault
or by virtualeyes
Published on 2012-09-10T14:11:07Z
Indexed on
2012/09/10
15:40 UTC
Read the original article
Hit count: 725
Having trouble getting %ksappend or %include to work when referencing a local floppy drive.
Booting off remote server's cd-rom drive I am able to load the CentOS 6 minimal install image, and then add ks=hd:fd0/ks-jvm.cfg
to boot params to load kickstart init file from floppy disk. That works fine.
The problem is that I want to load a streamlined generic init file off the floppy and then, within the init, %ksappend or %include specific config files relative to the type of server I'm building (JVM, MySQL, Apache, etc.)
I do not have DHCP, networking needs to be specified statically, so %ksappend and %include both fail when attempting to reference http://some-LAN-IP/foo.cfg
since networking has not yet been set.
The kickstart setup only works when I glob in the entire config into a single file, which is great, but ugly and difficult to maintain when I return later, having forgotten the original setup.
At this point I'd be happy if I could get %ksappend or %include working with a floppy drive reference in the %post section; that would consolidate a lot of common boilerplate that all kickstarts will rely on (sshd_config, rsync config, resolve.conf, and so on)
Thanks for providing the magic floppy drive reference that is eluding me!
© Server Fault or respective owner