21 lines
1005 B
XML
21 lines
1005 B
XML
<domain type='kvm'>
|
|
<name>%NAME%</name>
|
|
<memory unit='GiB'>%MEMORY%</memory>
|
|
<vcpu>%CPU%</vcpu>
|
|
<os>
|
|
<type arch='x86_64'>hvm</type>
|
|
</os>
|
|
<features><acpi/><apic/><pae/></features>
|
|
<devices>
|
|
<disk type='volume'><source pool='vms' volume='%NAME%'/><target dev='hda'/></disk>
|
|
<disk type='volume'><source pool='vms' volume='%NAME%-ceph'/><target dev='hdb'/><address type='drive' bus='1'/></disk>
|
|
<interface type='network'><source network='admin'/><model type='e1000'/><boot order='1'/></interface>
|
|
<interface type='network'><source network='management'/><model type='e1000'/></interface>
|
|
<interface type='network'><source network='private'/><model type='e1000'/></interface>
|
|
<interface type='network'><source network='public'/><model type='e1000'/></interface>
|
|
<interface type='network'><source network='storage'/><model type='e1000'/></interface>
|
|
<graphics type='vnc' listen='0.0.0.0' autoport='yes'/>
|
|
<memballoon model='virtio'/>
|
|
</devices>
|
|
</domain>
|