mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
To make it easier to see when the XML generated has deviated from expected, tidy up the emitted XML to use a more consistent formatting that would be inline with what would be expected to be output by virsh directly.
44 lines
1.1 KiB
XML
44 lines
1.1 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>
|
|
<kernel></kernel>
|
|
<initrd></initrd>
|
|
<cmdline></cmdline>
|
|
</os>
|
|
<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'/>
|
|
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'/>
|
|
<video>
|
|
<model type='cirrus' vram='9216' heads='1'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|