templates/kvm/box.xml.erb in vagrant-mutate-0.1.4 vs templates/kvm/box.xml.erb in vagrant-mutate-0.1.5

- old
+ new

@@ -23,15 +23,19 @@ <emulator><%= qemu_bin %></emulator> <disk type='file' device='disk'> <driver name='qemu' type='<%= image_type %>'/> <source file='<%= disk %>'/> <target dev='vda' bus='<%= disk_bus %>'/> - <% if disk_bus == 'virtio' %> + <% if disk_bus == 'virtio' %> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> - <% else %> + </disk> + <% else %> <address type='drive' controller='0' bus='0' target='0' unit='0'/> - <% end %> </disk> + <controller type='<%= disk_bus %>' index='0'> + <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> + </controller> + <% end %> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>