mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
This adds websocket functionality for VNC. The websocket attribute may be used to specify the port to listen on (with -1 meaning auto-allocation and autoport having no effect due to security reasons).
69 lines
1.8 KiB
XML
69 lines
1.8 KiB
XML
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
|
<name>vagrant-test_default</name>
|
|
<title></title>
|
|
<description>Source: /rootpath/Vagrantfile</description>
|
|
<uuid></uuid>
|
|
<memory>524288</memory>
|
|
<vcpu>1</vcpu>
|
|
<cpu mode='host-model'>
|
|
<model fallback='allow'></model>
|
|
</cpu>
|
|
<os>
|
|
<type>hvm</type>
|
|
<bootmenu enable='no'/>
|
|
<kernel></kernel>
|
|
<initrd></initrd>
|
|
<cmdline></cmdline>
|
|
<smbios mode='sysinfo'/>
|
|
</os>
|
|
<sysinfo type='smbios'>
|
|
<bios>
|
|
<entry name='vendor'>Test Vendor</entry>
|
|
</bios>
|
|
<system>
|
|
<entry name='manufacturer'>Test Manufacturer</entry>
|
|
<entry name='version'>0.1.0</entry>
|
|
</system>
|
|
<baseBoard>
|
|
<entry name='manufacturer'>Test Manufacturer</entry>
|
|
</baseBoard>
|
|
<chassis>
|
|
<entry name='manufacturer'>Test Manufacturer</entry>
|
|
<entry name='serial'>AABBCCDDEE</entry>
|
|
</chassis>
|
|
<oemStrings>
|
|
<entry>app1: string1</entry>
|
|
<entry>app1: string2</entry>
|
|
<entry>app2: string1</entry>
|
|
<entry>app2: string2</entry>
|
|
</oemStrings>
|
|
</sysinfo>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<pae/>
|
|
</features>
|
|
<clock offset='utc'>
|
|
</clock>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<alias name='ua-box-volume-0'/>
|
|
<driver name='qemu' type='qcow2' cache='default'/>
|
|
<source file='/var/lib/libvirt/images/vagrant-test_default.img'/>
|
|
<target dev='vda' bus='virtio'/>
|
|
</disk>
|
|
<serial type='pty'>
|
|
<target port='0'/>
|
|
</serial>
|
|
<console type='pty'>
|
|
<target port='0'/>
|
|
</console>
|
|
<input type='mouse' bus='ps2'>
|
|
</input>
|
|
<graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='127.0.0.1' keymap='en-us'/>
|
|
<video>
|
|
<model type='cirrus' vram='16384' heads='1'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|