2016-07-24 01:57:37 +02:00
|
|
|
<!-- domain type='qemu' -->
|
|
|
|
<domain type='kvm'>
|
|
|
|
<name>{{ inventory_hostname }}</name>
|
|
|
|
<memory unit='M'>1024</memory>
|
|
|
|
<currentMemory unit='M'>512</currentMemory>
|
|
|
|
<vcpu>1</vcpu>
|
|
|
|
|
|
|
|
<cpu mode='host-passthrough'/>
|
|
|
|
<!-- fallback to host-model on errors -->
|
|
|
|
|
|
|
|
<os>
|
|
|
|
<type machine='pc'>hvm</type>
|
|
|
|
<boot dev='hd'/>
|
|
|
|
<boot dev='cdrom'/>
|
|
|
|
<bootmenu enable='no'/>
|
|
|
|
</os>
|
|
|
|
|
|
|
|
<features>
|
|
|
|
<acpi/>
|
|
|
|
<apic/>
|
|
|
|
<pae/>
|
|
|
|
</features>
|
|
|
|
|
|
|
|
<clock offset='utc'/>
|
|
|
|
|
|
|
|
<on_poweroff>destroy</on_poweroff>
|
|
|
|
<on_reboot>restart</on_reboot>
|
|
|
|
<on_crash>destroy</on_crash>
|
|
|
|
|
|
|
|
<devices>
|
|
|
|
<disk type='file' device='disk'>
|
|
|
|
<driver name='qemu' type='raw' cache='writeback'/>
|
|
|
|
<source file='{{ vm_path }}/loctevm.img'/>
|
|
|
|
<target dev='vda' bus='virtio'/>
|
|
|
|
</disk>
|
|
|
|
|
|
|
|
<disk type='file' device='cdrom'>
|
2016-11-23 13:43:37 +01:00
|
|
|
<source file='{{ vm_path }}/debian-8.6.0-amd64-i386-{{ inventory_hostname }}.iso'/>
|
2016-07-26 17:32:47 +02:00
|
|
|
<target dev='hdc' bus='ide'/>
|
2016-07-24 01:57:37 +02:00
|
|
|
</disk>
|
|
|
|
|
|
|
|
<interface type='network'>
|
2016-08-06 02:12:55 +02:00
|
|
|
<source network='ffmwu'/>
|
2016-07-24 01:57:37 +02:00
|
|
|
<model type='virtio'/>
|
2016-08-06 02:12:55 +02:00
|
|
|
<mac address='52:53:54:55:56:57'/>
|
2016-07-24 01:57:37 +02:00
|
|
|
</interface>
|
|
|
|
|
|
|
|
<serial type='pty'>
|
|
|
|
<target port='0'/>
|
|
|
|
</serial>
|
|
|
|
<console type='pty'>
|
|
|
|
<target type='serial' port='0'/>
|
|
|
|
</console>
|
|
|
|
|
|
|
|
<input type='mouse' bus='ps2'/>
|
|
|
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
|
|
|
<!-- graphics type='sdl' xauth='~/.Xauthority' fullscreen='no'/ -->
|
|
|
|
</devices>
|
|
|
|
</domain>
|