WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: Patch to xm create search domU config in /etc/xen/auto

To: "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: Patch to xm create search domU config in /etc/xen/auto
From: "Molle Bestefich" <molle.bestefich@xxxxxxxxx>
Date: Tue, 4 Apr 2006 16:06:40 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 04 Apr 2006 07:06:59 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TqDh1orrV4DBY7wtEYWBjMBLrNTQ4KNKJc5CEZrYUyTEit6S6dzODjBS0Ujs7ntVMcueKLXVCGU9wzjsbYoXq6FS/fpRZ2VGhxye5QsnLJE++js0NJDrIirp15dDB6vlMEuQZ4FFPDYU6C5+WTlrRTyqc8/iF1tVL65KqYM7XIk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <000801c65747$1d242380$0100000a@lualele>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <001901c65733$e270a6e0$0100000a@lualele> <44314FAF.3090709@xxxxxxxxxx> <000801c65747$1d242380$0100000a@lualele>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Itamar Reis Peixoto wrote:
> this  patch include /etc/xen/auto in search path when creating a domU
>
> domU configs can be stored in
>
> * /etc/xen
> * /etc/xen/auto - when dom0 is rebooted all domU´s with config file is
> stored in  this directory is automatic started by /etc/init.d/xendomains
>
> when I run xm create the xm search for domU config only in
> * current directory
> * /etc/xen

[snip]
> without this patch to start a domU I need to run
>
> xm create /etc/xen/auto/mydomU
>
> with this patch I can start a domU with
>
> xm create mydomU

What's preventing you from storing all your domU configurations in /etc/xen?

You can link to them if you want them started automatically:
# cd /etc/xen
# ln -s mydomU auto/mydomU

?
That way you can still start them with
# xm create mydomU

Also makes it easier to stop a domain from starting automatically
without nuking the domain configuration:
# rm /etc/xen/auto/mydomU

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