Vagrant 1.9.4 and 1.9.5 cannot handle spaces in the name of a virtual machine.
This is on windows 7 pro, with the latest Virtual Box (Version 5.1.22 r115126)
All versions we've tried up to and including 1.9.3 can handle this ok.
Symptoms are that Vagrant can create the vm, but you cannot 'vagrant ssh' in successfully.
Here's a trivial Vagrantfile that can be used to recreate the problem:
# -*- mode: ruby -*-# vi: set ft=ruby :Vagrant.configure("2") do |config| config.vm.box = "puppetlabs/centos-6.6-64-nocm" vm_name = "spaces test" config.vm.define vm_name config.vm.provider "virtualbox" do |vb| vb.gui = true vb.memory = "1024" vb.name = vm_name endend
Example errors that you'll see on a subsequent 'vagrant ssh':
$ vagrant sshWarning:
Identity file
C:/Users/vds/Desktop/vag/vmbuilder/vms/.vagrant/machines/spaces not
accessible: No such file or directory.vag...@127.0.0.1's password: Guessing this is another "somebody forgot to quote a variable" kind of thing while assembling a pathname to the ssh identity file.