sciurus / vagrant-mutate

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

The box $box was not found #34

Closed graingert closed 10 years ago

graingert commented 10 years ago
graingert@abiogenesis:~/projects/website$ vagrant mutate virtualbox/precise64.box libvirt
Extracting box file to a temporary directory.
The box virtualbox/precise64.box was not found
graingert@abiogenesis:~/projects/website$ vagrant box list
precise64.box (virtualbox)
sciurus commented 10 years ago

Vagrant-mutate uses this logic to determine where to load the box from

 if it contains '://'
   treat it as a URL
 else if it ends in '.box'
   treat it as a path
 else
   treat it as the name of a box already loaded in vagrant

Thus you're getting case 2 when you really need case 3. I can work on correcting this in the next few days. For now, if you move ~/.vagrant.d/boxes/precise64.box to ~/.vagrant.d/boxes/precise64 you should be able to run vagrant mutate precise64

On 01/13/2014 03:43 AM, Thomas Grainger wrote:

graingert@abiogenesis:~/projects/website$ vagrant mutate virtualbox/precise64.box libvirt Extracting box file to a temporary directory. The box virtualbox/precise64.box was not found graingert@abiogenesis:~/projects/website$ vagrant box list precise64.box (virtualbox)

— Reply to this email directly or view it on GitHub https://github.com/sciurus/vagrant-mutate/issues/34.

All the best, Brian Pitts

sciurus commented 10 years ago

This is fixed in 0.2.3

graingert commented 10 years ago

:+1: On 20 Jan 2014 19:09, "Brian Pitts" notifications@github.com wrote:

This is fixed in 0.2.3

— Reply to this email directly or view it on GitHubhttps://github.com/sciurus/vagrant-mutate/issues/34#issuecomment-32787780 .