4e7c7fd2aa683eb562bb0f86bdaa1a78d0c965a0
[fuel.git] / deploy / templates / virtual_environment / vms / fuel.xml
1 <domain type='kvm'>
2   <name>fuel</name>
3   <memory unit='KiB'>2097152</memory>
4   <currentMemory unit='KiB'>2097152</currentMemory>
5   <vcpu placement='static'>2</vcpu>
6   <resource>
7     <partition>/machine</partition>
8   </resource>
9   <os>
10     <type arch='x86_64' machine='pc-1.0'>hvm</type>
11     <boot dev='hd'/>
12     <boot dev='cdrom'/>
13     <bootmenu enable='no'/>
14   </os>
15   <features>
16     <acpi/>
17     <apic/>
18     <pae/>
19   </features>
20   <clock offset='utc'/>
21   <on_poweroff>destroy</on_poweroff>
22   <on_reboot>restart</on_reboot>
23   <on_crash>restart</on_crash>
24   <devices>
25     <emulator>/usr/bin/kvm</emulator>
26     <disk type='block' device='cdrom'>
27       <driver name='qemu' type='raw'/>
28       <target dev='hdc' bus='ide'/>
29       <readonly/>
30     </disk>
31     <disk type='file' device='disk'>
32       <driver name='qemu' type='raw'/>
33       <source file='disk.raw'/>
34       <target dev='vda' bus='virtio'/>
35     </disk>
36     <controller type='ide' index='0'>
37     </controller>
38     <controller type='usb' index='0'>
39     </controller>
40     <controller type='pci' index='0' model='pci-root'/>
41     <interface type='network'>
42       <source network='fuel1'/>
43       <model type='e1000'/>
44     </interface>
45     <serial type='pty'>
46       <target port='0'/>
47     </serial>
48     <console type='pty'>
49       <target type='serial' port='0'/>
50     </console>
51     <input type='mouse' bus='ps2'/>
52     <input type='keyboard' bus='ps2'/>
53     <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='sv'>
54       <listen type='address' address='127.0.0.1'/>
55     </graphics>
56     <sound model='ich6'>
57     </sound>
58     <video>
59       <model type='cirrus' vram='9216' heads='1'/>
60     </video>
61     <memballoon model='virtio'>
62     </memballoon>
63   </devices>
64   <seclabel type='dynamic' model='apparmor' relabel='yes'/>
65 </domain>
66