From: "Molle Bestefich" Subject: Re: Patch to xm create search domU config in /etc/xen/auto Date: Tue, 4 Apr 2006 16:06:40 +0200 Message-ID: <62b0912f0604040706q3ebfc58bv6e8a255b131d35ba@mail.gmail.com> References: <001901c65733$e270a6e0$0100000a@lualele> <44314FAF.3090709@us.ibm.com> <000801c65747$1d242380$0100000a@lualele> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <000801c65747$1d242380$0100000a@lualele> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Itamar Reis Peixoto Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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=B4s 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