Configuring First Boot Scripts in SUSE Studio
From openSUSE
Start
FAQ
Tour
Howto
API
Bugs
Support
Download
Firstboot scripts can be run before any services or after. For the first option, use the "Scripts" option on the "Configuration" tab. You'll see there is an if section that looks for a /etc/init.d/suse_studio_firstboot file. Put your commands there.
For the second option, make your own service and add it to the "Overlay files" at the /etc/init.d. Add a "insserv script_name -r" line at the end of this service so it removes itself after firstboot. Then, add the "insserv servicename" line at the "Scripts" option on the "Configuration" tab, on the firstboot section.
Now that you are adding boot scripts, you may want to add other services. Go to Configuring_Services_in_SUSE_Studio.
If that is not the case, you may want to add some yast2 firstboot scripts. If so go to Configuring_YaST2_First_Boot_in_SUSE_Studio.
Otherwise, go to Adding_Files_in_SUSE_Studio and add files to your appliance.

