Hello Henri,
I will try to reply all your questions, but feel free to tell me if I miss one or you got more.
1. Installation patch is c:\hashicorp/vagrant
This is correct, basically is in this way because some components have issues with spaces and I am not sure some character when the language is not english.
2. open the shell.
The default directory where your shell open is called your home directory.
here will be .vagrant.d directory that hold information and cache the boxes.
You can use CMD/bash to move around
mkdir precise64
cd precise64
vagrant init -m hashicorp/precise32
in this way the path will be
c:/users/<your_user>/precise32
3. Vagrant VM long name.
This is the default, you can ofcouse update it.
edit the Vagrantfile
config.vm.hostname = "hostname"
^ change the hostname inside the OS, not how it looks in VirtualBox
The name in the gui:
config.vm.provider "virtualbox" do |v|
v.name = "my_vm"
end
4. Run the command in other dir:
A lot of components are involved here, let's say your user is henri
your home for Windows will be c:\users\henri
a. Vagrant binaries:
c:\HashiCorp\Vagrant
b. Virtualbox binaries:
c:\Program Files\Oracle\VirtualBox
c. Vagrant home
c:\Users\henri\.vagrant.d
d. VirtualBox default path for new VM
c:\Users\henri\VirtualBox VMs
e. Project that hold Vagrantfile and code
c:\<some_path>
As you can see is a lot of components here.
If you have a 2nd drive, and you create your project as:
d:\MyAwesomeApp\
Take note.
- Vagrant boxes will be downloaded and store in [c]
- VMs will be created in [d]
So, if your C drive is short in space, or you want to create the boxes in a different drive are lots of options.
Hope this clarify all the components and path, if you can chare what you will like to move [a,b,c,d,e], I cna help you to understand how's that done.
Thanks
Alvaro