summaryrefslogtreecommitdiff
path: root/tests/lxcconf2xmldata/lxcconf2xml-simple.xml
blob: 45a2012c5ad64c7c2d763aa0d695a890405043e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<domain type='lxc'>
  <name>migrate_test</name>
  <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
  <memory unit='KiB'>65536</memory>
  <currentMemory unit='KiB'>0</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='i686'>exe</type>
    <init>/sbin/init</init>
  </os>
  <features>
    <capabilities policy='allow'>
      <mac_admin state='off'/>
      <mac_override state='off'/>
      <mknod state='off'/>
      <sys_module state='off'/>
    </capabilities>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/var/lib/lxc/migrate_test/rootfs'/>
      <target dir='/'/>
    </filesystem>
    <filesystem type='ram' accessmode='passthrough'>
      <source usage='8192' units='KiB'/>
      <target dir='/run'/>
    </filesystem>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/etc/resolv.conf'/>
      <target dir='/etc/resolv.conf'/>
      <readonly/>
    </filesystem>
    <interface type='bridge'>
      <mac address='02:00:15:8f:05:c1'/>
      <source bridge='virbr0'/>
      <ip address='192.168.122.2' family='ipv4' prefix='24'/>
      <ip address='2003:db8:1:0:214:1234:fe0b:3596' family='ipv6' prefix='64'/>
      <route family='ipv4' address='0.0.0.0' gateway='192.168.122.1'/>
      <route family='ipv6' address='::' gateway='2003:db8:1:0:214:1234:fe0b:3595'/>
      <guest dev='eth0'/>
      <link state='up'/>
    </interface>
    <console type='pty'>
      <target type='lxc' port='0'/>
    </console>
    <console type='pty'>
      <target type='lxc' port='1'/>
    </console>
  </devices>
</domain>