Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question

OK, the solution is to break out your hammer and bash anaconda (or oneself for not knowing the answer) over the head:

mkdir -p /tmp/floppy
mount /dev/fd0 /tmp/floppy

Now the floppy is accessible for %include -- unattended installer at work as I type here ;-)

Going to try this with %ksappend as it appears this directive provides more flexibility/power.

Major hassle getting setup with kickstart on a remote ESXi machine, but once in place it is a pretty nice reusable solution...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.