Hi Anton,
OpenVZ uses generic xml format. It is common for all libvirt drivers.
one difference is filesystem:
<filesystem type="template">
<source name="<name of template>" />
<target dir="/"/>
</filesystem>
example:
<domain type='openvz'>
<name>210</name>
Does the 'name ' tag specify domain veid or veid is generated automatically?
<uuid>08344fd6-17d6-711f-6ad8-08b85777a2a2</uuid>
<vcpu>13</vcpu>
<memory>131072</memory>
<os>
<type>exe</type>
</os>
<devices>
<filesystem type="template">
<source name="centos-4-i386-minimal" />
<target dir="/"/>
<quota type="size" max="10000"/>
<quota type="inodes" max="200000"/>
</filesystem>
<interface type='bridge'>
<source bridge='eth10'/>
</interface>
<interface type='ethernet'>
<mac address='00:16:3e:34:21:9e'/>
<ip address="192.168.122.3" />
</interface>
</devices>
</domain>
--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list