lorax/share/dracut_hooks/99anaconda-copy-ks.sh
Brian C. Lane 7891fed73e copy kickstarts into sysroot (#743135)
The installer no longer has access to the initrd's root. We need to
copy any needed files over to /sysroot before switching root. This
copies *.cfg and *.ks files.

It also adds the ability to add dracut hook scripts to the initramfs
from /usr/share/lorax/dracut_hooks/
2011-10-05 09:59:33 -07:00

5 lines
120 B
Bash
Executable File

#!/bin/sh
# Copy over kickstart files from the initrd to the sysroot before pivot
cp /*cfg /*ks /sysroot/ 2> /dev/null