accessing kickstart floppy files during install

Mogens Kjaer mk at crc.dk
Wed Aug 27 10:36:16 UTC 2008


Gianluca Cecchi wrote:
...
> I would like to put some customization scripts inside the floppy and copy
> them to the system during install.

Instead of doing a:

cp /mnt/floppy/script1 /usr/local/bin

you can make the %post section create the scripts like:

cat >/usr/local/bin/script1 <<EOF
#!/bin/bash
...
...
EOF

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the fedora-list mailing list