mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
By default, specify the the "<privnet>" feature with LXC operating system containers. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1040406 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
30 lines
714 B
XML
30 lines
714 B
XML
<domain type="lxc">
|
|
<name>foolxc</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<os>
|
|
<type arch="x86_64">exe</type>
|
|
<init>/sbin/init</init>
|
|
</os>
|
|
<features>
|
|
<privnet/>
|
|
</features>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<emulator>/usr/libexec/libvirt_lxc</emulator>
|
|
<filesystem>
|
|
<source dir="/source"/>
|
|
<target dir="/"/>
|
|
</filesystem>
|
|
<interface type="bridge">
|
|
<source bridge="eth0"/>
|
|
<mac address="00:11:22:33:44:55"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
</devices>
|
|
</domain>
|