56 lines
1.5 KiB
XML
56 lines
1.5 KiB
XML
<domain type='{{ domain_type }}'>
|
|
<name>{{ node_name }}</name>
|
|
<memory>3145728</memory>
|
|
<currentMemory>3145728</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<os>
|
|
<type arch='x86_64'>hvm</type>
|
|
<boot dev='network'/>
|
|
<bios useserial='yes'/>
|
|
</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/qemu-system-x86_64</emulator>
|
|
<disk type='file' device='disk'>
|
|
<driver name='qemu'/>
|
|
<source file='{{ empty_disk(node_name,'disk1','3G') }}'/>
|
|
<target dev='sda' bus='sata'/>
|
|
<serial>SomeSerialNumber</serial>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
</disk>
|
|
<controller type='sata' index='0'>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
|
|
</controller>
|
|
<interface type='network'>
|
|
<source network='{{ network_name }}' />
|
|
<mac address='{{ mac_addr }}'/>
|
|
</interface>
|
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
|
<serial type='file'>
|
|
<source path='{{ console_log }}'/>
|
|
<target port='0'/>
|
|
</serial>
|
|
<serial type='pty'>
|
|
<target port='1'/>
|
|
</serial>
|
|
<console type='file'>
|
|
<source path='{{ console_log }}'/>
|
|
<target type='serial' port='0'/>
|
|
</console>
|
|
<input type='mouse' bus='ps2'/>
|
|
<input type='keyboard' bus='ps2'/>
|
|
<video>
|
|
<model type='cirrus'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|
|
|