I've been wanting to give a try to libvirt to handle containers from LXC
as well, but seems like if I follow the default configuration example, I
get this:
virsh # create /etc/libvirt/lxc/axant.xml
errore: Impossibile creare il dominio da /etc/libvirt/lxc/axant.xml
errore: unknown OS type exe
[sorry for the Italian message, but it doesn't really matter]
The configuration is this:
<domain type='lxc'>
<name>axant</name>
<memory>14680064</memory>
<os>
<type>exe</type>
<init>/init</init>
</os>
<vcpu>8</vcpu>
<clock offset="utc" />
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/libexec/libvirt_lxc</emulator>
<filesystem type='mount'>
<source dir='/media/chroots/axant'/>
<target dir='/'/>
</filesystem>
<interface type='bridge'>
<mac address="8e:8b:e5:aa:28:b6" />
<source bridge="br0" />
</interface>
<console type='pty' />
</devices>
</domain>
am I doing something wrong or the doc at [1] is outdated somehow?
[1]
http://libvirt.org/drvlxc.html
--
Diego Elio Pettenò — “Flameeyes”
http://blog.flameeyes.eu/
If you found a .asc file in this mail and know not what it is,
it's a GnuPG digital signature:
http://www.gnupg.org/