Kickstart frustrations take 3, copying files from the source CD
Madison Kelly
linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Fri Jun 13 20:48:43 UTC 2008
There seems to be no clear docs on how to copy files from the install
media using kickstart in the %post section... I'm hoping someone here
can help. :)
I've got a custom CentOS 4.6 install DVD with a kickstart script and
an added directory (cdrom:/foo) with a pile of files I need to copy to
the hard drive. I've tried:
%post
cp -Rp /foo /root/
Nope
%post
cp -Rp /mnt/source/foo /root/
Nope
%post
mkdir /mnt/cdrom
mkdir -t iso9660 /tmp/cdrom /mnt/cdrom
cp -Rp /mnt/cdrom/foo /root/
Nope
Can someone pull out the clue stick and beat me with it? It'd be much
appreciated!
Madi
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list