RHEL5 - copy files from DVD during %post

Shabazian, Chip Chip.Shabazian at bankofamerica.com
Wed Jan 14 17:46:58 UTC 2009


How big are the files?  If they are small enough, you can use an old
workaround I had to use a long time ago where you create a ram drive,
copy the files there in the %pre, then you can mount and access that ram
drive in the %post.

-----Original Message-----
From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com] On Behalf Of John Oliver
Sent: Wednesday, January 14, 2009 9:41 AM
To: kickstart-list at redhat.com
Subject: RHEL5 - copy files from DVD during %post

So, I've read that anaconda got broke in RHEL5, and it ejects the DVD
too early.  I found a post about creating a new stage2.img with a couple
of lines in dispatch.py swapped which is supposed to fix this.  I did
that, and wound up with a DVD that is ejecting right after the SCSI
drivers load!

I really need to be able to copy files from the DVD during %post  What
is the correct incantation to make this happen?

Thanks...

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list