1 Answer
1

While it's possible to rebuild a Red Hat CD ISO image, you might benefit from using the Kickstart mechanism available on existing Red Hat CDs/DVDs.

This is how I do something very similar to what you're asking. Simply create a kickstart and add a %post section that does whatever you're planning to do. You'll need to find a way to copy over the tar file, either by mounting an NFS share or using 'wget' to download from an HTTP server.

can u give a sample of the %post section, about how its done... i have been trying the same but not able to achieve it.
–
pratapFeb 11 '11 at 12:06

@pratap: I'm not sure I know what you want to do. Perhaps you want to simply download a script and run it? An example:wget -O somescript.sh http://mysite/somescript.sh; sh -x somescript.sh
–
jsbillingsFeb 11 '11 at 13:17

can u tell me if i have todo the same from cd instead of network then how this is done?
–
pratapFeb 14 '11 at 3:44