lxcconf2xml-idmap.xml 767 字节
Newer Older
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
<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' current='0'>1</vcpu>
  <os>
    <type>exe</type>
    <init>/sbin/init</init>
  </os>
  <idmap>
    <uid start='0' target='10000' count='2000'/>
    <gid start='0' target='10000' count='1000'/>
  </idmap>
  <features>
    <privnet/>
  </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>
  </devices>
</domain>