The simplest way to set vagrant default directory

Published on

Here the oneliner, add it to the end of your Vagrantfile

config.vm.provision "shell", inline: "echo 'cd /MY_DIRECTORY' >> /home/vagrant/.bashrc"

Here, have a slice of pizza 🍕