more newbie questions

Brad Doctor bdoctor at ps-ax.com
Fri Jul 2 20:00:36 UTC 2004


Like this:

%post --nochroot
mkdir -p /mnt/source
mount /tmp/cdrom /mnt/source
mkdir -p /path/to/copy
cp /mnt/source/files /path/to/copy

-brad
> 
> 
> 
> 
> I have placed some files in the toplevel directory of my kickstart cd.  I
> want to copy these files to the /home directory during the kickstart
> installation.  I've been attempting to do this in the %post section of the
> ks.cfg file, but cannot figure out the file path to the toplevel directory
> on the cd.
> 
> ie, I have test.txt on the toplevel directory of the CD.  I want the
> post-install script to put this into /home.
> 
> How can I do this?
> 
> Thanks!!
> 
> Jason Alburger
> 609-485-7225
> CPDLC Engineer
> Joseph Sheairs Associates, Inc.
> FAA/AOS-330
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 

-- 
Brad Doctor, CISSP





More information about the Kickstart-list mailing list