Skip to content

Instantly share code, notes, and snippets.

@rkennesson
Created August 3, 2015 00:42
Show Gist options
  • Save rkennesson/c145d0a8625bd220825c to your computer and use it in GitHub Desktop.
Save rkennesson/c145d0a8625bd220825c to your computer and use it in GitHub Desktop.
#http://stackoverflow.com/questions/26102156/unable-to-install-plugin-hostmanager-in-vagrant-in-windows-8-1
The solution is to move your project to a project directory you choose that doesn't have any spaces in the directory name, then use an environment variable called "VAGRANT_HOME" and set it to a specified directory. The plugin installation procedure will check for the existence of this variable and use it if it exists instead of locating a home directory within the windows current user directoory.
I created a folder "home" within C:\Hashicorp\Vagrant and used that ('C:\Hashicorp\Vagrant\home'). Setting windows environment variables is not hard (rather trivial actually) - you can find out how here: http://www.computerhope.com/issues/ch000549.htm
You'll have to do a restart to your system for it to take effect (it all worked after a reboot for me).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment