Is there a way to run individual scripts when a domU is started up ? I want to run certain commands each time a domU is booted up. These are different for each domU. I know i can make shell scripts which run those commands and in turn use those scripts to start and stop the domU''s, however i was wondering if there is a provision in xen for something of this sort. Thanks. -- regards, Anand Gupta _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anand Gupta schrieb:>Is there a way to run individual scripts when a domU is started up ? I want >to run certain commands each time a domU is booted up. These are different >for each domU. > >I know i can make shell scripts which run those commands and in turn use >those scripts to start and stop the domU''s, however i was wondering if there >is a provision in xen for something of this sort. > >I would suggest using one script and implementing loops depending on the name of the domU that is started. Dirk _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Anand Gupta wrote:> Is there a way to run individual scripts when a domU is started up ? I > want to run certain commands each time a domU is booted up. These are > different for each domU. > > I know i can make shell scripts which run those commands and in turn use > those scripts to start and stop the domU''s, however i was wondering if > there is a provision in xen for something of this sort.Xen config files are python scripts. So you can do everything in a xen config file that is possible with python. I didn''t use that myself yet, so I cannot say much more about that. Maybe someone has some examples of scripted config files. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users