node_name_format_* functions should produce the node name
[autocluster.git] / templates / install.xml
1 <!-- template for initial install of base image -->
2 <domain type='kvm'>
3   <name>@@NAME@@</name>
4   <uuid>@@UUID@@</uuid>
5   <memory>@@MEM@@</memory>
6   <currentMemory>@@MEM@@</currentMemory>
7   <vcpu>1</vcpu>
8   <os>
9           <type>hvm</type>
10           <kernel>@@PWD@@/tmp/vmlinuz</kernel>
11           <initrd>@@PWD@@/tmp/initrd.img</initrd>
12           <cmdline>console=ttyS0,115200 selinux=0 @@INSTALL_KERNEL_OPTIONS@@</cmdline>
13   </os>
14   <features>
15     <acpi/>
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>@@KVM@@</emulator>
23     <disk type='file' device='disk'>
24       <source file='@@DISK@@'/>
25       <target dev='@@SYSTEM_DISK_PREFIX@@a' bus='@@SYSTEM_DISK_TYPE@@'/>
26       <driver name='qemu' type='@@BASE_FORMAT@@' cache='@@SYSTEM_DISK_CACHE@@'/>
27     </disk>
28     <disk type='file' device='cdrom'>
29       <source file='@@ISO@@'/>
30       <target dev='hdc' bus='ide'/>
31       <readonly/>
32     </disk>
33 @@INSTALL_KS_DEVICE_TEMPLATE@@
34 @@@NETWORK_TEMPLATE@@@
35     <input type='mouse' bus='ps2'/>
36     <graphics type='vnc' port='-1' listen='127.0.0.1'/>
37     <serial type="file">
38      <source path="@@KVMLOG@@/serial.@@NAME@@"/>
39      <target port="1"/>
40     </serial>
41   </devices>
42 </domain>