lib/vagrant-libvirt/templates/domain.xml.erb in vagrant-libvirt-0.0.23 vs lib/vagrant-libvirt/templates/domain.xml.erb in vagrant-libvirt-0.0.24
- old
+ new
@@ -34,12 +34,12 @@
<target dev='vda' bus='<%= @disk_bus %>'/>
</disk>
<%# additional disks -%>
<% @disks.each do |d| -%>
<disk type='file' device='disk'>
- <driver name='qemu' type='<%= d[:type] %>'/>
- <source file='<%= d[:path] %>'/>
- <target dev='<%= d[:device] %>' bus='virtio'/>
+ <driver name='qemu' type='<%= d[:type] %>' cache='<%= d[:cache] %>'/>
+ <source file='<%= d[:absolute_path] %>'/>
+ <target dev='<%= d[:device] %>' bus='<%= d[:bus] %>'/>
<%# this will get auto generated by libvirt
<address type='pci' domain='0x0000' bus='0x00' slot='???' function='0x0'/>
-%>
</disk>
<% end -%>