Closed
Description
Running Vagrant 1.5.1 on Mavericks with VMware Fusion 6 / or VirtualBox 4.3.8. Vagrant fails to load a local box if the file path where the box resides contains spaces.
Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "precise64" do |ubuntu|
ubuntu.vm.box = "precise64"
ubuntu.vm.box_url = "precise64-1.box"
ubuntu.vm.provider "vmware_fusion" do |v, override|
override.vm.box_url = "precise64-1_vmware.box"
end
end
end
Spits the following:
vagrant up precise64
Bringing machine 'precise64' up with 'virtualbox' provider...
==> precise64: Box 'precise64' could not be found. Attempting to find and install...
precise64: Box Provider: virtualbox
precise64: Box Version: >= 0
/Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:176:in `split': bad URI(is not URI?): file:///Volumes/My Book Duo/Projects/vagrant/precise64-1.box (URI::InvalidURIError)
from /Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:211:in `parse'
from /Applications/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:747:in `parse'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_add.rb:448:in `metadata_url?'
Metadata
Assignees
Labels
No labels
Activity