Last active
November 9, 2017 03:05
-
-
Save JeremyOttley/db40eecbd908fbc3c9bd29fda8bf893b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # _ __ __ _____ __ | |
| # | | / /___ _____ __________ _____ / /_/ __(_) /__ | |
| # | | / / __ `/ __ `/ ___/ __ `/ __ \/ __/ /_/ / / _ \ | |
| # | |/ / /_/ / /_/ / / / /_/ / / / / /_/ __/ / / __/ | |
| # |___/\__,_/\__, /_/ \__,_/_/ /_/\__/_/ /_/_/\___/ | |
| # /____/ | |
| # Change this to suit your dotfiles setup and copy to your *HOST* machine: $HOME/.vagrant.d/Vagrantfile | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "debian/jessie64" | |
| # Mount your dotfiles to vagrant user's home folder (or wherever you want): | |
| config.vm.synced_folder "#{ENV['HOME']}/dotfiles", '/home/vagrant/dotfiles' | |
| # Provider-specific configuration so you can fine-tune various | |
| # backing providers for Vagrant. These expose provider-specific options. | |
| # Example for VirtualBox: | |
| # | |
| # config.vm.provider "virtualbox" do |vb| | |
| # # Display the VirtualBox GUI when booting the machine | |
| # vb.gui = true | |
| # | |
| # # Customize the amount of memory on the VM: | |
| # vb.memory = "1024" | |
| # end | |
| # Install dotfiles on every 'vagrant provision' call. | |
| # For example, let's imagine your your dotfiles have 'install.sh' script: | |
| config.vm.provision 'shell', privileged: false, inline: '/home/vagrant/dotfiles/install.sh' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment