This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Run a script after creating a domain
From: "Tom Z. Napierala" <tom@xxxxxx>
Date: Thu, 14 Sep 2006 11:47:51 +0100
Delivery-date: Thu, 14 Sep 2006 03:48:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <450893C0.50505@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: DB Alliance Ltd.
References: <450893C0.50505@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.4
Dnia Thursday 14 September 2006 00:26, Roberto Gonzalez Azevedo napisał:
> Is it possible to run a script after creating a domain ?
> e.g.
> xm create -c /etc/xen/auto/domain
> ...
> after this, execute a script.
> e.g.
> /etc/xen/scripts/myscript.sh
> ...
> Any ideas ?

You can use xen-tools package (http://xen-tools.org/software/xen-tools/). 
Excellent tool, you can run several hooks after creating domain, there are 
also "roles" you can assign to the dom during creation.

Tom Napierala
DB Alliance Limited
North Point House, New Mallow Road, Cork, Ireland
The National Software Centre, Mahon, Cork, Ireland

Xen-users mailing list