On Tue, Nov 06, 2007 at 11:23:22AM +0100, Daniel Hokka Zakrisson wrote:
Daniel Veillard wrote:
[...]
>> <container>
>> <uts hostname='testvm' machine='i586'/>
>> <distribution method='debootstrap' release='etch'/>
>> </container>
[...]
> - what are the ranges for the values of <container>
elements and
> attributes
I don't understand what this question means.
> <uts> seems to be OS metadata, we already have an <os> element in
> existing configs why not reuse that.
Ah, yes, I missed that. How about:
<os>
<type machine='i586'>vserver</type>
<hostname>testvm</hostname>
<release>2.6.12</release>
<distribution method='debootstrap'>etch</distribution>
</os>
Looks far better to me compared to other formats already in use,
yes I guess that's fine. <release> still looks a bit weird to me
because in an OS you may see an awful lot of different releases,
and it's hard to guess what it is about (the linux kernel one ?)
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/