So in order to not use a ram disk and to still have access
to the files in the chrooted %post, you'd need to copy the files to a
directory beneath /mnt/sysimage during the %pre stage, right? Something
like /mnt/sysimage/var/tmp? This way no ram disk is needed and the data is
written in %pre and readable by %post.
From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Shabazian, Chip Sent: Monday, March 24, 2008 1:16 PM To: Discussion list about Kickstart Subject: RE: using /dev/ram devices in RHEL5 kickstarts The important thing to
know about this is that you can run TWO %post sections. In the first, you
can copy whatever you want from /tmp/your_dir to the chrooted /tmp, then you can
use your current %post within a chrooted
environment From:
kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-bounces@xxxxxxxxxx]
On Behalf Of Kent
Baxley I'm researching a kickstart problem that deals with some
of the differences between RHEL4 and RHEL5. In RHEL 4, I could create a
RAM drive and copy files to this RAM drive in the %pre script portion of
kickstart. I would then open the RAM drive in the %post section.
This allowed me to pass information from the Pre to the Post processing
scripts. Because the %pre scripts do not have a local drive to write to at
this time in the installation process the became the easiest way tell the post
process scripts what went on during the pre script installation
choices. |
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list