Closed cg5labs closed 8 years ago
A virtualbox VM can have disks attached to several types of buses: ide, scsi,, or sata. The change you made ignores that and always sets the bust type to virtio. This is actually what I initially implemented, thinking it would be safe and improve performance. However, it turns out this causes some VMs to fail to boot; see #21.
I'm going to close this pull request and suggest that as a workaround you change the Vagrantfile. If doing that becomes a hassle, I'd be open to a pull request that adds a --force-virtio
option.
Hi Brian,
I was really happy to find vagrant-mutate as I am using libvirt/kvm as my default virtualization instead of Virtualbox. My dev system is running Centos 6.7. While the box conversion with vagrant-mutate works fine for the Virtualbox disk images, the generated
Vagrantfile
uses an incompatible disk-controller value for kvm (libvirt.disk_bus = 'sata'
) on my system:When I change the variable from
#{@input_box.disk_interface}
to#{@output_box.disk_interface}
, the generatedVagrantfile
contains the compatible disk_interface value 'virtio' and I can run the converted box on my system.Can you please have a look at this?
Thanks!
Best regards,
Chris