ruby on rails - Why the Vagrant do not share folders on windows 8 64bits e 32bits? -
i using:
windows 8 64-bit vagrant 1.7.2 virtual box 4.3.28 gitbash 1.9.4 ssh connection box ubuntu 14:04:02 trusty32 , box ubuntu 14:04:02 trusty64 i using everioment development ruby on rails on ubuntu/trusty32 , trusty/64 on vagrant windows64. worked well, don`t can share folders on windows between vagrant.
this vagrant file:
# -*- mode: ruby -*- # vi: set ft=ruby : # vagrant configuration done below. "2" in vagrant.configure # configures configuration version (we support older styles # backwards compatibility). please don't change unless know # you're doing. vagrant.configure(2) |config| # common configuration options documented , commented below. # complete reference, please see online documentation @ # https://docs.vagrantup.com. # every vagrant development environment requires box. can search # boxes @ https://atlas.hashicorp.com/search. config.vm.box = "trusty64" # disable automatic box update checking. if disable this, # boxes checked updates when user runs # `vagrant box outdated`. not recommended. # config.vm.box_check_update = false # create forwarded port mapping allows access specific port # within machine port on host machine. in example below, # accessing "localhost:8080" access port 80 on guest machine. # config.vm.network "forwarded_port", guest: 80, host: 8080 # create private network, allows host-only access machine # using specific ip. # config.vm.network "private_network", ip: "192.168.33.10" # create public network, matched bridged network. # bridged networks make machine appear physical device on # network. # config.vm.network "public_network" # share additional folder guest vm. first argument # path on host actual folder. second argument # path on guest mount folder. , optional third # argument set of non-required options. # config.vm.synced_folder "../data", "/vagrant_data" # provider-specific configuration can fine-tune various # backing providers vagrant. these expose provider-specific options. # example virtualbox: # # config.vm.provider "virtualbox" |vb| # # display virtualbox gui when booting machine # vb.gui = true # # # customize amount of memory on vm: # vb.memory = "1024" # end # # view documentation provider using more # information on available options. # define vagrant push strategy pushing atlas. other push strategies # such ftp , heroku available. see documentation @ # https://docs.vagrantup.com/v2/push/atlas.html more information. # config.push.define "atlas" |push| # push.app = "your_atlas_username/your_application_name" # end # enable provisioning shell script. additional provisioners such # puppet, chef, ansible, salt, , docker available. please see # documentation more information specific syntax , use. # config.vm.provision "shell", inline: <<-shell # sudo apt-get update # sudo apt-get install -y apache2 # shell end trusty64 on windows not connect. trusty32 on windows ok, not share.
i've had problem on similar configuration , fixed it:
- vagrant ssh
- sudo ln -s /opt/vboxguestadditions-4.3.10/lib/vboxguestadditions /usr/lib/vboxguestadditions
- exit
- vagrant reload
Comments
Post a Comment