anaconda kickstart problem
Hi there,
I am trying to customize a Linux distrib based on CentOS 5. I have created a kickstart config file and added some folders to the ISO.
What I want to do is that after the install is finished I get the added folders in the ISO to get copied to my new installed system. For that I added a %post --nochroot section to the kickstart script where I try to mount again the cdrom and get the files copied :
%post --nochroot
mount /dev/cdrom /mnt/source
cp -R /mnt/source/MyFolder /mnt/sysimage/root
umount /dev/cdrom
But after the install I don't find the folder I have copied. I am assuming that I have messed something in the mount.
Does anybody know to which folder is the cdrom mounted during installation (if it is mounted somewhere by anaconda) or the name of the device to mount.
Thanks to all,
Nacef
|