Last active
December 18, 2015 15:29
-
-
Save redgeoff/65218345647b0bc41686 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
| Vagrant.configure("2") do |config| | |
| config.vm.box = "ubuntu/trusty64" | |
| # Use a private network so that we don't have to worry about forwarding ports | |
| config.vm.network "private_network", ip: "192.168.10.10" | |
| config.vm.provider "virtualbox" do |v| | |
| # Default of 512 MB is too little for an `npm install` | |
| v.memory = 1024 | |
| # Only allow drift of 1 sec, instead of 20 min default | |
| v.customize [ "guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 1000 ] | |
| end | |
| # Bootstrap script for configuring VM | |
| config.vm.provision :shell, path: "bootstrap.sh" | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment