|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] setting the path where xm looks for config files
On Sun, Jan 14, 2007 at 03:07:09PM +0100, Henning Sprang wrote:
> Hi,
> Sometimes it can be convenient to change the path where xm looks for
> vm config files.
> SuSE for example sets it to /etc/xen/vm, which I find quite nice. But
> they change the path by hard-coding it in the xm code - which I don't
> want to make for my Debian package installed xen hosts, and don't want
> to do it on the machines where I use plain xensource xen.
>
> It looks in the code like xm could take some variable PATH as default
> instead the one that is hardcoded, but it seems not to be the PATH
> environment variable. does anyone have an idea if that can be changed
> somehow . maybe a config option in the xend config file?
>
> The possibility of giving the search path with the xm create option
> path is not really useful - then I can also give the absolute path.
In the new Xen 3.0.4 the use of /etc/xen for storing VM config files
is now pretty much just there for back compatability. If you're using
the existing 'xm create' then it'll still load from /etc/xen as per the
usual rules. With the new command 'xm new', where the config file is
kept is prety irrelevant, as once it is loaded, XenD will keep the master
config file in a private managed dir under /var/lib/xend/domains.
So I'm not sure that its worth extending 'xm' to add more flexibility
to let it look somewhere other than /etc/xen because that dir is not
really very relevant any more.
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|