Reputation: 906
I am trying to setup vagrant on my windows OS. I have watched some tutorial about that.
According to those tutorial, I should be able to map some folder from windows to the vagrant machine . I have configured homestead.yaml file with below info :
authorize: ~/.ssh/id_rsa.pub
keys:
- /Users/Fakhreddin/.ssh/id_rsa
folders:
- map: Users/Fakhreddin/code
to: /home/vagrant/code
sites:
- map: homestead.app
to: /home/vagrant/Code/Laravel/public
databases:
- homestead
variables:
- key: APP_ENV
value: local
But when i check my vagrant home directory, there is no folder with code name
I have tried to create it manually, But it doesn't work.
What's wrong with it and how to solve?
Upvotes: 2
Views: 1594
Reputation: 937
add this line to Vagrantfile
config.vm.synced_folder "Users/Fakhreddin/code", "/home/vagrant/code"
Upvotes: 1
Reputation: 1
check VagrantFile ,find this:
config.vm.synced_folder "D:/Project", "/home/vagrant/Code"
Upvotes: 0
Reputation: 277
The folder name is Code, with uppercase, the Linux machine is case sensitive.
Upvotes: 0