[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Run a script after creating a domain


  • To: "Roberto Gonzalez Azevedo" <rgonzalez@xxxxxxxxxxxxxxx>
  • From: "Henning Sprang" <henning_sprang@xxxxxx>
  • Date: Thu, 14 Sep 2006 14:37:32 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 14 Sep 2006 05:38:15 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ZA5lQm1eDG1oY9p8cL7N/7GtX2pqBq4ZLnJMLz6izObrvvsPqnM/6LnxiavC+ALR4kOPZRso+pxNNGXw0HzewOCO4AB9ICJYLpQVMfSzjgnM6KL0t9M0BulKiZBEO88shHIQHTZBKUuwzVHbZX1xH876gMhty8UZ3/9HNbFRp+Y=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.

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.

Henning

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.