[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Run a script after creating a domain
Hello, > Another way would be to let the domain's config file run a script with > a python syscall at the end (have it not exactly in my mind how this > should be done, so no example, sorry) of the config file, as config > files are only python scripts. Unfortunately that will only work at domain creation time. That means, the skript will not run if the domain is simply rebooted without destroying the domain. I ran into a similar problem while trying to make the scheduler parameters persistent (there is no config file parameter for that matter in 3.0.2). Until now i did not find any suitable way to solve that problem. Greetings, -timo On Thu, 14 Sep 2006 14:37:32 +0200, "Henning Sprang" <henning_sprang@xxxxxx> wrote: > On 9/14/06, Roberto Gonzalez Azevedo <rgonzalez@xxxxxxxxxxxxxxx> wrote: >> [...] >> Is it possible to run a script after creating a domain ? > > Xen runs the network-script defined in the configuration. > > Although you might not doing network-based stuff and so it might be > misleading to do other things there, you could append the start of > your script onto the network script. > > > Henning > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users -- Timo Benk - Jabber ID: fry@xxxxxxxxxx - ICQ ID: #241877854 PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |