Re: more newbie questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 

-- 
Brad Doctor, CISSP



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux