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

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


  • To: "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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