7891fed73e
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/
5 lines
120 B
Bash
Executable File
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
|
|
|