title: Vagrant synced folder is missing in the guest machine
body: <p>I'm trying to provision a vm with a synced folder to the directory where my <code>Vagrantfile</code> resides (should be default behavior, but it's not working). Here is my Vagrantfile in its current state (see <code>bootstrap.sh</code> below):</p>
  
  <pre><code># -*- mode: ruby -*-
  # vi: set ft=ruby :
  
  Vagrant.configure("2") do |config|
    config.vm.box = "ubuntu/trusty64"
    config.vm.box_check_update = true
  
    # Create a private network, which allows host-only access to the machine
    # using a specific IP.
    config.vm.hostname = "vagrant"
    config.vm.network "private_network", ip: 'XXX.XXX.XX.XXX'
    config.vm.synced_folder ".", "/vagrant", type: "virtualbox"
    config.vm.provider "virtualbox" do |vb|
      vb.customize ["modifyvm", :id, "--memory", 2048]
      vb.customize ["modifyvm", :id, "--cpus", 2]
      vb.customize ["modifyvm", :id, "--cpuexecutioncap", 50]
    end
    config.vm.provision :shell, path: "bootstrap.sh"
  end
  </code></pre>
  
  <p>Here is the mount portion of the <code>vagrant up</code> output with the <code>--debug</code> flag toggled:</p>
  
  <pre><code>INFO synced_folders: Invoking synced folder enable: virtualbox
   INFO interface: output: Mounting shared folders...
   INFO interface: output: ==&gt; default: Mounting shared folders...
  ==&gt; default: Mounting shared folders...
   INFO interface: detail: /vagrant =&gt; /path/to/my/project
   INFO interface: detail:     default: /vagrant =&gt; /Users/michaelmartorella/code/ethereum
      default: /vagrant =&gt; /path/to/my/project
  </code></pre>
  
  <p>However, when I ssh into the vm, the <code>/vagrant</code> directory does not contain the contents of the synced directory on the host machine. I have already tried everything listed in <a href="https://stackoverflow.com/a/38233531/4942372">this solution</a> and haven't had any luck. I've also tried moving the <code>config.vm.synced_folder</code> command below the virtualbox modifications and haven't had any luck there either.</p>
  
  <p>Additionally, if I run <code>cd /</code> I don't move to the root directory - it keeps me in the home directory (seems very odd and I assume it's related to whatever is causing this issue).</p>
  
  <p>I'm using:</p>
  
  <ul>
  <li><code>Vagrant 1.9.5</code></li>
  <li><code>VirtualBox Version 5.1.22</code></li>
  <li><code>Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-119-generic x86_64)</code></li>
  </ul>
  
  <p>I'm running this from MacOS Sierra <code>Version 10.12.5</code></p>
  
  <hr>
  
  <p>If it helps, here is my <code>bootstrap.sh</code> code as well:</p>
  
  <pre><code>#!/bin/bash
  
  # Install git for version control, pip for install python packages
  echo "Installing base python requirements..."
  sudo apt-get -qq -y install git python-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev python-pip libssl-dev &gt; /dev/null 2&gt;&amp;1
  
  # Customize the shell
  echo "cd() { builtin cd "$@"; ls -FGlAhp; }" &gt;&gt; ~vagrant/.bashrc
  echo "alias cd..='cd ../'" &gt;&gt; ~vagrant/.bashrc
  echo "mcd () { mkdir -p "$1" &amp;&amp; cd "$1"; }" &gt;&gt; ~vagrant/.bashrc
  echo "mgrep () { grep -rnIi \"$1\" . --color; }" &gt;&gt; ~vagrant/.bashrc
  echo "alias geth-init='bash /vagrant/init_geth.sh'" &gt;&gt; ~vagrant/.bashrc
  echo "alias geth-console='bash /vagrant/geth_console.sh'" &gt;&gt; ~vagrant/.bashrc
  
  # Install ethereum
  echo "Installing ethereum..."
  sudo apt-get install software-properties-common &gt; /dev/null 2&gt;&amp;1
  sudo add-apt-repository -y ppa:ethereum/ethereum &gt; /dev/null 2&gt;&amp;1
  sudo apt-get update &gt; /dev/null 2&gt;&amp;1
  sudo apt-get -y install ethereum &gt; /dev/null 2&gt;&amp;1
  if [ $? -eq 0 ]
  then
    echo "Successfully installed ethereum!"
  else
    echo "Could not install ethereum" &gt;&amp;2
    exit 1
  fi
  
  # Install pyethapp
  echo "Installing pyethapp..."
  pip install pyethapp &gt; /dev/null 2&gt;&amp;1
  
  if [ $? -eq 0 ]
  then
    echo "Successfully installed pyethapp"
  else
    echo "Could not install pyethapp" &gt;&amp;2
    exit 1
  fi
  
  # Complete
  echo ""
  echo "Vagrant install complete!"
  </code></pre>
  
  <p>I have no errors with the above code.</p>
  
  <p>Thanks in advance!</p>