[opensuse-autoinstall] Overview of autoyast process
Hi All, Despite using autoyast for years and knowing it quite well, I still get confused at exactly what point various scripts run at, and when yast reboots at. I think I've nearly got it, but I'd welcome someone looking over this list, and correcting it where it's wrong. [* rules file is downloaded and processed * one of more profile fragments are downloaded and merged] OR [* the full profile is downloaded.] * any pre scripts are ran * Ask commands are ran and user interaction runs. * installation confirmation screen is shown. * 1st part of the installation starts * chroot=false chroot scripts are ran. * installer chroots into the new system. * chroot=true chroot scripts run. * yast configures the system * post install scripts run At this point, I'm confused. When are post install scripts with network_needed=true and network_needed=false ran, what is the difference in the environments they run it ? * system reboots * init scripts run I also need to look at classes and figure out how they fit into the picture. As I understand it right now, they are similar to a #include in that they cause AY to merge a new profile in if the current profice has a class definition in it. Thanks. -- Simon Crute IS&T. Bracknell. UK. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Friday 04 May 2007 13:06, Simon Crute wrote:
[* rules file is downloaded and processed * one of more profile fragments are downloaded and merged] OR [* the full profile is downloaded.]
* any pre scripts are ran * Ask commands are ran and user interaction runs. * installation confirmation screen is shown. * 1st part of the installation starts * chroot=false chroot scripts are ran. * installer chroots into the new system. * chroot=true chroot scripts run. * yast configures the system
* reboot * installation network raises up again (in case of an installation via network) * required but missing RPMs are installed * network_needed=true scripts run * second stage config from the XML file is done (services, network and stuff) * installation network is down (in case of an installation via network) * network_needed=false scripts run * SuSEconfig
At this point, I'm confused. When are post install scripts with network_needed=true and network_needed=false ran, what is the difference in the environments they run it ?
network_needed=true scripts run more early. If you do network installations, then the installation network is still up and running when network_needed=true post-scripts run. With "false" the installation network is down, while the configured network is still not up and running. Well, that was true for SLES9. Since 10.2 you can raise the network via "start_immediately" in the network section so that even network_needed=false scripts can have a running network.
* system reboots
no, there is no reboot at that stage. The reboot happens short after chrooted=true scripts
* init scripts run
-- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Fri, May 04, 2007 at 12:06:44PM +0100, Simon Crute wrote: > [* rules file is downloaded and processed > * one of more profile fragments are downloaded and merged] > OR > [* the full profile is downloaded.] > > * any pre scripts are ran * If a /tmp/profiles/modified.xml file exists, read it and use it's values. > * Ask commands are ran and user interaction runs. > * installation confirmation screen is shown. > * 1st part of the installation starts [snip] -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com "I've never used their tech support, but the word is that it sucks." I believe it's composed entirely of monkeys that couldn't get the Shakespeare gig. :-) ==> /. users talking about @home tech support -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Mike Marion
-
Simon Crute
-
Uwe Gansert