File: domain-lxc-simple.xml

package info (click to toggle)
libvirt 0.9.12.3-1+deb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 115,024 kB
  • sloc: ansic: 324,394; xml: 44,112; sh: 15,676; python: 6,198; makefile: 2,916; perl: 2,003; ml: 472; sed: 16
file content (20 lines) | stat: -rw-r--r-- 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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>