mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 23:10:08 +00:00
34 lines
1011 B
XML
34 lines
1011 B
XML
|
<domain type='lxc' xmlns:lxc='http://libvirt.org/schemas/domain/lxc/1.0'>
|
||
|
<name>jessie</name>
|
||
|
<uuid>e21987a5-e98e-9c99-0e35-803e4d9ad1fe</uuid>
|
||
|
<memory unit='KiB'>1048576</memory>
|
||
|
<currentMemory unit='KiB'>1048576</currentMemory>
|
||
|
<vcpu placement='static'>1</vcpu>
|
||
|
<resource>
|
||
|
<partition>/machine</partition>
|
||
|
</resource>
|
||
|
<os>
|
||
|
<type arch='x86_64'>exe</type>
|
||
|
<init>/sbin/init</init>
|
||
|
</os>
|
||
|
<clock offset='utc'/>
|
||
|
<on_poweroff>destroy</on_poweroff>
|
||
|
<on_reboot>restart</on_reboot>
|
||
|
<on_crash>restart</on_crash>
|
||
|
<devices>
|
||
|
<emulator>/usr/libexec/libvirt_lxc</emulator>
|
||
|
<filesystem type='mount' accessmode='passthrough'>
|
||
|
<source dir='/mach/jessie'/>
|
||
|
<target dir='/'/>
|
||
|
</filesystem>
|
||
|
<console type='pty'>
|
||
|
<target type='lxc' port='0'/>
|
||
|
</console>
|
||
|
</devices>
|
||
|
<lxc:namespace>
|
||
|
<lxc:sharenet type='netns' value='red'/>
|
||
|
<lxc:shareipc type='pid' value='12345'/>
|
||
|
<lxc:shareuts type='name' value='container1'/>
|
||
|
</lxc:namespace>
|
||
|
</domain>
|