Using Homestead to configure the Laravel development environment, the vagrant Up command works fine, but setting the mapping folder is not the location that I set in the config file, ask God to help.
Here are the two code, the problem is I set the folder, and the configured folder is not on.
Homestead.yaml file Configuration
2 ip: "192.168.10.10" 3 memory: 2048 4 cpus: 1 5 provider: virtualbox 6 7 authorize: ~/.ssh/id_rsa.pub 8 9 keys: 10 - ~/.ssh/id_rsa 11 12 folders: 13 - map: ~/Documents/develop 14 to: /home 15 16 sites: 17 - map: goldenquant.app 18 to: /home/goldenquant/public 19 - map: blog.app 20 to: /home/blog/public 21 22 databases: 23 - homestead
Terminal input vagrant up command return information
Bringing machine ' default ' up with ' VirtualBox ' provider...==> default:importing base box ' laravel/homestead ' ... ==> ; Default:matching MAC address for NAT networking...==> default:checking if box ' Laravel/homestead ' are up to date...==& Gt Default:setting the name of the vm:homestead_default_1468122349760_33905==> default:clearing any previously set NETW Ork interfaces...==> default:preparing Network interfaces based on configuration ... default:adapter 1:nat==> D Efault:forwarding ports ... default:22 = 2222 (adapter 1) ==> default:booting vm...==> default:waiting for Machine to boot. This could take a few minutes ... default:ssh address:127.0.0.1:2222 default:ssh username:vagrant default:ssh A Uth method:private key default:Warning:Connection timeout. Retrying default:default:Vagrant insecure key detected. Vagrant would automatically replace Default:this with a newly generated keypair for better security. DefaulT:default:inserting generated public key within guest ... default:removing insecure key from the guest if it ' s PR Esent Default:key inserted! Disconnecting and reconnecting using new SSH key...==> Default:machine booted and ready!==> default:checking for G Uest Additions in vm...==> default:mounting gkfx folders ... default:/vagrant =/users/xing/documents/homeste Ad