vagrant and vbox files can not be shared

After the download is good, in this directory execute command to load the image file to Vagrant go:
vagrant box add centos7 xxxx.box
centos7 is to the virtual machine from the name, free to write. You can then view the following command, those available under the current vagrant
C:\Users\fendo>vagrant box list
centos7 (virtualbox, 0)
In the directory you want to create a virtual machine, run the following command to initialize
vagrant init centos7
Start the virtual machine input in this directory
vagrant up
Line 46 to modify the format of 47 Vagrantfile inside line
After being given execution
Solution
Stop the virtual machine is already running
Start VirtualBox virtual machine
Directly start the virtual machine in VirtualBox, log in as follows:
Enter the default user name: vagrant, Password: vagrant
Mounting and installation VBoxGuestAdditions
Mount approach as follows: Device -> Installation Enhancements
prompt
Manual installation, find VBoxGuestAdditions.iso in the VirtualBox installation directory
The results should be or not
Execute the following command in the command line
vagrant plugin install vagrant-vbguest
After the implementation of vagrant up open again
Displays the following
Until everything is finished, it may be a little slow around about an hour (I may have so quickly)
vagrant reload restart 
ssh into
After establishing a shared folder inside the virtual machine
It should again reboot is successful
 
 
 
2. If the execution vagrant plugin install vagrant-vbguest given too many connection resets or timed out
Enter http://www.imooc.com/article/35527 solve 5.6.7.8 Reference Article
After vagrant reload restart if an error
vagrant ssh
su root password is vagrant
To implement the settlement in accordance with the command
 

Guess you like

Origin www.cnblogs.com/huliangqing/p/12507102.html
Recommended