mirror of https://gitee.com/openkylin/libvirt.git
21 lines
527 B
XML
21 lines
527 B
XML
<domain type='lxc'>
|
|
<name>demo</name>
|
|
<uuid>8369f1ac-7e46-e869-4ca5-759d51478066</uuid>
|
|
<os>
|
|
<type>exe</type>
|
|
<init>/sh</init>
|
|
</os>
|
|
<memory unit='KiB'>500000</memory>
|
|
<devices>
|
|
<filesystem type='mount'>
|
|
<source dir='/root/container'/>
|
|
<target dir='/'/>
|
|
</filesystem>
|
|
<filesystem type='mount'>
|
|
<source dir='/home'/>
|
|
<target dir='/home'/>
|
|
</filesystem>
|
|
<console type='pty'/>
|
|
</devices>
|
|
</domain>
|