swee a révisé ce gist 4 months ago. Aller à la révision
1 file changed, 53 insertions
domain.xml(fichier créé)
| @@ -0,0 +1,53 @@ | |||
| 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> | |
Plus récent
Plus ancien