osx - Vagrant Synced Folders not showing -


i want sync osx dev folder contains applications vm. vagrantfile (based off phansible):

vagrant.require_version ">= 1.5" vagrant.configure("2") |config|      config.vm.provider :virtualbox |v|         v.name = "default"         v.customize [             "modifyvm", :id,             "--name", "default",             "--memory", 512,             "--natdnshostresolver1", "on",             "--cpus", 1,         ]     end      config.vm.box = "ubuntu/trusty64"             config.vm.network :private_network, ip: "192.168.33.99"     config.ssh.forward_agent = true      if which('ansible-playbook')         config.vm.provision "ansible" |ansible|             ansible.playbook = "ansible/playbook.yml"             ansible.inventory_path = "ansible/inventories/dev"             ansible.limit = 'all'             ansible.extra_vars = {                 private_interface: "192.168.33.99",                 hostname: "default"             }         end     else         config.vm.provision :shell, path: "ansible/windows.sh", args: ["default"]     end      config.vm.synced_folder "/users/xylar/code", "/vagrant", type: "nfs" end 

when vagrant up:

==> default: exporting nfs shared folders... ==> default: preparing edit /etc/exports. administrator privileges required... ==> default: mounting nfs shared folders... ==> default: running provisioner: ansible... 

there no error messages , when vagrant ssh , view contents of vagrant folder see dot files (ansible, bash etc). there have missed?

i being foolish. once had ssh'd box thought in synced folder (as called vagrant) in /home/vagrant , synced location in /vagrant.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -