2012-03-26 17:09:31 +00:00
|
|
|
<domain type='lxc'>
|
|
|
|
<name>demo</name>
|
|
|
|
<uuid>8369f1ac-7e46-e869-4ca5-759d51478066</uuid>
|
|
|
|
<memory unit='KiB'>500000</memory>
|
|
|
|
<currentMemory unit='KiB'>500000</currentMemory>
|
2012-05-08 16:04:36 +00:00
|
|
|
<vcpu placement='static'>1</vcpu>
|
2012-03-26 17:09:31 +00:00
|
|
|
<os>
|
|
|
|
<type arch='x86_64'>exe</type>
|
|
|
|
<init>/bin/systemd</init>
|
|
|
|
<initarg>--unit</initarg>
|
|
|
|
<initarg>emergency.service</initarg>
|
|
|
|
</os>
|
|
|
|
<clock offset='utc'/>
|
|
|
|
<on_poweroff>destroy</on_poweroff>
|
|
|
|
<on_reboot>restart</on_reboot>
|
|
|
|
<on_crash>destroy</on_crash>
|
|
|
|
<devices>
|
2013-03-11 11:12:08 +00:00
|
|
|
<emulator>/usr/libexec/libvirt_lxc</emulator>
|
2012-03-26 17:09:31 +00:00
|
|
|
<filesystem type='mount' accessmode='passthrough'>
|
|
|
|
<source dir='/root/container'/>
|
|
|
|
<target dir='/'/>
|
|
|
|
</filesystem>
|
|
|
|
<filesystem type='mount' accessmode='passthrough'>
|
|
|
|
<source dir='/home'/>
|
|
|
|
<target dir='/home'/>
|
|
|
|
</filesystem>
|
|
|
|
<console type='pty'>
|
|
|
|
<target type='lxc' port='0'/>
|
|
|
|
</console>
|
|
|
|
</devices>
|
|
|
|
</domain>
|