sciurus/vagrant-mutate

Support Vagrant 1.5.x

Closed this issue · 3 comments

Vagrant 1.5 changed the box location so mutate command does not work with it.

/home/tatsuya% vagrant plugin list                              
Vagrant is upgrading some internal state for the latest version.
Please do not quit Vagrant at this time. While upgrading, Vagrant
will need to copy all your boxes, so it will use a considerable
amount of disk space. After it is done upgrading, the temporary disk
space will be freed.
vagrant-login (1.0.1, system)
vagrant-share (1.0.1, system)

/home/tatsuya% vagrant --version
Vagrant 1.5.1

/home/tatsuya% vagrant plugin install vagrant-mutate --plugin-source http://ruby.taobao.org
Installing the 'vagrant-mutate' plugin. This can take a few minutes...
Installed the plugin 'vagrant-mutate (0.2.5)'!
/home/tatsuya% vagrant box list
archlinux-x86_64-20140325 (kvm)
centos-6.5-20140316       (kvm)
centos-6.5-20140324       (kvm)
fedora-20-x86_64-20140401 (virtualbox)
fedora19                  (kvm)
vagrant-kvm               (kvm)

/home/tatsuya% vagrant mutate virtualbox/fedora-20-x86_64-20140401 kvm                     
You have qemu 1.6.2 installed. This version cannot read some virtualbox boxes. If conversion fails, see below for recommendations. https://github.com/sciurus/vagrant-mutate/wiki/QEMU-Version-Compatibility
The box /home/tatsuya/.vagrant.d/boxes/fedora-20-x86_64-20140401/virtualbox was not found

/home/tatsuya% ls -l .vagrant.d/boxes/fedora-20-x86_64-20140401/0/virtualbox/
total 478148
-rw-------. 1 tatsuya tatsuya 489591808 Apr  2 07:05 box-disk1.vmdk
-rw-------. 1 tatsuya tatsuya     12603 Apr  2 06:50 box.ovf
-rw-r--r--. 1 tatsuya tatsuya        25 Apr  2 06:50 metadata.json
-rw-r--r--. 1 tatsuya tatsuya       505 Apr  2 06:50 Vagrantfile

Thanks for the report. It seems that there are major changes to boxes in 1.5. It may take me a while to address this.

It seems that there are major changes to boxes in 1.5. It may take me a while to address this.

Thank you.

FYI, to workaround, I created a vagrant-kvm guest to run Vagrant 1.4.3 and vagrant-mutate. I could even run nested vagrant-kvm on the same guest if I want.

Here is the Vagrantfile that I'm using for vagrant-mutate. I'm using Vagrant 1.5.2 and vagrant-kvm 0.1.7 on the host machine.

Vagrant 1.5 is supported in release 0.3.0.

Two areas for improvement are #51 and #52.