blob: ca51d99f449fcd0d6c0d3887ad63fea46d20f350 (
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
43
|
<!-- template for initial install of TSM server node -->
<domain type='kvm'>
<name>@@NAME@@</name>
<uuid>@@UUID@@</uuid>
<memory>@@MEM@@</memory>
<currentMemory>@@MEM@@</currentMemory>
<vcpu>@@NUMCPUS@@</vcpu>
<os>
<type>hvm</type>
<boot dev='hd'/>
</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' cache='@@SYSTEM_DISK_CACHE@@'/>
</disk>
<disk type='file' device='disk'>
<source file='@@TSMDISK@@'/>
<target dev='@@SYSTEM_DISK_PREFIX@@b' bus='@@SYSTEM_DISK_TYPE@@'/>
<driver name='qemu' cache='@@SYSTEM_DISK_CACHE@@'/>
</disk>
<interface type='network'>
<mac address='@@MAC1@@'/>
<model type='@@NICMODEL@@'/>
<source network='net1'/>
</interface>
<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>
|