From: Alan McKay <alan.mckay at gmail.com> > I'm doing some %pre work for the first time in a very long time, and > have been at this all day so far and still don't have anything sorted > out properly. > First I tried just doing some simple bash stuff like this > %pre > #!/bin/bash > # stuff > I reduced "stuff" down to basically a simple "select" statement to > echo and read input, just for the sake of debugging. > My first problem is that when running the kickstart, the little box > would come up saying it is running the pre scripts, but my scripts > would never actually run. No output, no prompts, nothing. For my usb key, I use by example: %pre --interpreter /usr/bin/bash mkdir /usbkey mount /dev/sda2 /usbkey cp -a /usbkey/misc /tmp/ umount /usbkey chvt 3 /tmp/misc/ks_pre.sh | tee /tmp/ks_pre.log 2>&1 chvt 1