aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/templates/virtual_environment_noha/vms/compute.xml
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/templates/virtual_environment_noha/vms/compute.xml')
-rw-r--r--deploy/templates/virtual_environment_noha/vms/compute.xml64
1 files changed, 64 insertions, 0 deletions
diff --git a/deploy/templates/virtual_environment_noha/vms/compute.xml b/deploy/templates/virtual_environment_noha/vms/compute.xml
new file mode 100644
index 000000000..95db87984
--- /dev/null
+++ b/deploy/templates/virtual_environment_noha/vms/compute.xml
@@ -0,0 +1,64 @@
+<domain type='kvm'>
+ <name>compute</name>
+ <memory unit='KiB'>8388608</memory>
+ <currentMemory unit='KiB'>8388608</currentMemory>
+ <vcpu placement='static'>2</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='network'/>
+ <boot dev='hd'/>
+ <bios rebootTimeout='30000'/>
+ </os>
+ <features>
+ <acpi/>
+ <apic/>
+ <pae/>
+ </features>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>restart</on_crash>
+ <devices>
+ <emulator>/usr/bin/kvm</emulator>
+ <disk type='file' device='disk'>
+ <driver name='qemu' type='qcow2'/>
+ <source file='disk.raw'/>
+ <target dev='vda' bus='virtio'/>
+ </disk>
+ <controller type='usb' index='0'>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <interface type='network'>
+ <source network='fuel1'/>
+ <model type='e1000'/>
+ </interface>
+ <interface type='network'>
+ <source network='fuel2'/>
+ <model type='e1000'/>
+ </interface>
+ <interface type='network'>
+ <source network='fuel3'/>
+ <model type='e1000'/>
+ </interface>
+ <interface type='network'>
+ <source network='fuel4'/>
+ <model type='e1000'/>
+ </interface>
+ <serial type='pty'>
+ <target port='0'/>
+ </serial>
+ <console type='pty'>
+ <target type='serial' port='0'/>
+ </console>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
+ <sound model='ich6'>
+ </sound>
+ <video>
+ <model type='cirrus' vram='9216' heads='1'/>
+ </video>
+ <memballoon model='virtio'>
+ </memballoon>
+ </devices>
+</domain>