blob: 437bc266fd57192f7a69aaa429e0b9c8ef596eee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<!-- template for initial install of base image -->
<domain type='kvm'>
<name>@@NAME@@</name>
<uuid>@@UUID@@</uuid>
<memory>@@MEM@@</memory>
<currentMemory>@@MEM@@</currentMemory>
<vcpu>1</vcpu>
<os>
<type>hvm</type>
<kernel>@@PWD@@/tmp/vmlinuz</kernel>
<initrd>@@PWD@@/tmp/initrd.img</initrd>
<cmdline>console=ttyS0,115200 selinux=0 @@INSTALL_KERNEL_OPTIONS@@</cmdline>
</os>
<features>
<acpi/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>@@KVM@@</emulator>
<disk type='file' device='disk'>
<source file='@@DISK@@'/>
<target dev='@@SYSTEM_DISK_PREFIX@@a' bus='@@SYSTEM_DISK_TYPE@@'/>
<driver name='qemu' type='@@BASE_FORMAT@@' cache='@@SYSTEM_DISK_CACHE@@'/>
</disk>
<disk type='file' device='cdrom'>
<source file='@@ISO@@'/>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
@@INSTALL_KS_DEVICE_TEMPLATE@@
@@@NETWORK_TEMPLATE@@@
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' listen='127.0.0.1'/>
<serial type="file">
<source path="@@KVMLOG@@/serial.@@NAME@@"/>
<target port="1"/>
</serial>
</devices>
</domain>
|