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

Red Hat 9 '%post 'changes and .discinfo file



If you are using the CDROM during the post installation process, The
cdrom is unmounted. This is a good thing, but there are times access is
still required.
To mount the CD add the following line after the %post statement

%post --nochroot
mkdir -p /mnt/source
mount /tmp/cdrom /mnt/source
        /\
 
<lots of commands>
 
        \/
umount /mnt/source

and
make sure the .discinfo is in the root directory of the CDROM or Red Hat
9.0 will not be able to find the CDROM.

After the %post statement
-- 
damien clarke <damien clarke csn act edu au>






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