LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Add scripts in ISO image (https://www.linuxquestions.org/questions/red-hat-31/add-scripts-in-iso-image-684070/)

knockout_artist 11-17-2008 10:12 AM

Add scripts in ISO image
 
Good Day,

Can I add some scripts under some directory.

Suppose
Code:

/usr/myscript.sh
I am familiar with adding RPMs in the ISO-DVD. But couldn't find any place where scripts were, so I could add one of my script there.


Any Ideas?

Thanks

irishbitte 11-17-2008 04:14 PM

Just put your scripts where you want, then make the ISO!

What are you trying to do, have them autorun when the ISO is mounted?

knockout_artist 11-18-2008 08:36 AM

If I out them anywhere where would the go on a built system ?

I want to make them part of linux, they would executed later time NOT part of server build process.

irishbitte 11-18-2008 09:07 AM

Ah, I'm beginning to see what you mean. You are mounting the iso, and modifying the folders. hmmm. I'm really not sure where you would put such things in the ISO, and ensure that they ended up in the finished product.

What I have been doing of late is creating a system that is setup the way I want it and migrating it to other machines using PartImage, available on the systemrescuecd.

knockout_artist 11-20-2008 11:41 AM

Mod Can this be moved in Server forum?
May be I will get some replies there?


All times are GMT -5. The time now is 11:42 AM.