sciurus / vagrant-mutate

Convert vagrant boxes to work with different providers
MIT License
280 stars 41 forks source link

mutated boxes lack a version, preventing the ability to use the box #103

Open quanah opened 6 years ago

quanah commented 6 years ago
vagrant mutate https://vagrantcloud.com/ubuntu/boxes/bionic64/versions/20180218.0.0/providers/virtualbox.box libvirt
Downloading box virtualbox from https://vagrantcloud.com/ubuntu/boxes/bionic64/versions/20180218.0.0/providers/virtualbox.box
Extracting box file to a temporary directory.
Converting virtualbox from virtualbox to libvirt.
    (100.00/100%)
Cleaning up temporary files.
The box virtualbox (libvirt) is now ready to use.

vagrant up --provider=libvirt
HOSTNAME (VMBOX): u18build (ubuntu/bionic64)
Provision path (args): /home/quanah/vagrant/u18build/vsetup.sh (-b -u 503 -g 503)
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'ubuntu/bionic64' is up to date...
The box 'ubuntu/bionic64' is not a versioned box. The box was added
directly instead of from a box catalog. Vagrant can only
check the versions of boxes that were added from a catalog
such as from the public Vagrant Server.