domain.xml
· 1.4 KiB · XML
Surowy
<domain type="lxc">
<name>discourse</name>
<uuid>c4efd644-bd64-4862-9bd9-ba4e19fa6a7a</uuid>
<memory unit="KiB">4194304</memory>
<currentMemory unit="KiB">4194304</currentMemory>
<vcpu placement="static">4</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch="x86_64">exe</type>
<init>/sbin/init</init>
</os>
<features>
<privnet/>
</features>
<clock offset="utc"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
<filesystem type="mount" accessmode="mapped">
<source dir="/extern/discourse"/>
<target dir="/"/>
</filesystem>
<interface type="network">
<mac address="00:16:3e:c6:a6:e8"/>
<source network="default"/>
</interface>
<console type="pty">
<target type="lxc" port="0"/>
</console>
<console type="pty">
<target type="lxc" port="1"/>
</console>
<console type="pty">
<target type="lxc" port="2"/>
</console>
<console type="pty">
<target type="lxc" port="3"/>
</console>
<console type="pty">
<target type="lxc" port="4"/>
</console>
<console type="pty">
<target type="lxc" port="5"/>
</console>
<rng model="virtio">
<backend model="random">/dev/urandom</backend>
</rng>
</devices>
</domain>
| 1 | <domain type="lxc"> |
| 2 | <name>discourse</name> |
| 3 | <uuid>c4efd644-bd64-4862-9bd9-ba4e19fa6a7a</uuid> |
| 4 | <memory unit="KiB">4194304</memory> |
| 5 | <currentMemory unit="KiB">4194304</currentMemory> |
| 6 | <vcpu placement="static">4</vcpu> |
| 7 | <resource> |
| 8 | <partition>/machine</partition> |
| 9 | </resource> |
| 10 | <os> |
| 11 | <type arch="x86_64">exe</type> |
| 12 | <init>/sbin/init</init> |
| 13 | </os> |
| 14 | <features> |
| 15 | <privnet/> |
| 16 | </features> |
| 17 | <clock offset="utc"/> |
| 18 | <on_poweroff>destroy</on_poweroff> |
| 19 | <on_reboot>restart</on_reboot> |
| 20 | <on_crash>destroy</on_crash> |
| 21 | <devices> |
| 22 | <emulator>/usr/lib/libvirt/libvirt_lxc</emulator> |
| 23 | <filesystem type="mount" accessmode="mapped"> |
| 24 | <source dir="/extern/discourse"/> |
| 25 | <target dir="/"/> |
| 26 | </filesystem> |
| 27 | <interface type="network"> |
| 28 | <mac address="00:16:3e:c6:a6:e8"/> |
| 29 | <source network="default"/> |
| 30 | </interface> |
| 31 | <console type="pty"> |
| 32 | <target type="lxc" port="0"/> |
| 33 | </console> |
| 34 | <console type="pty"> |
| 35 | <target type="lxc" port="1"/> |
| 36 | </console> |
| 37 | <console type="pty"> |
| 38 | <target type="lxc" port="2"/> |
| 39 | </console> |
| 40 | <console type="pty"> |
| 41 | <target type="lxc" port="3"/> |
| 42 | </console> |
| 43 | <console type="pty"> |
| 44 | <target type="lxc" port="4"/> |
| 45 | </console> |
| 46 | <console type="pty"> |
| 47 | <target type="lxc" port="5"/> |
| 48 | </console> |
| 49 | <rng model="virtio"> |
| 50 | <backend model="random">/dev/urandom</backend> |
| 51 | </rng> |
| 52 | </devices> |
| 53 | </domain> |