cri.dev
about posts rss

The simplest way to set vagrant default directory

Published on
Tagged with vagrant1

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 🍕