# -*- mode: ruby -*- # vi: set ft=ruby : # All Vagrant configuration is done below. The "2" in Vagrant.configure # configures the configuration version (we support older styles for # backwards compatibility). Please don't change it unless you know what # you're doing. Vagrant.configure(2) do |config| # The most common configuration options are documented and commented below. # For a complete reference, please see the online documentation at # https://docs.vagrantup.com. # Every Vagrant development environment requires a box. You can search for # boxes at https://atlas.hashicorp.com/search. config.vm.box = "ubuntu/precise32" # Share an additional folder to the guest VM. The first argument is # the path on the host to the actual folder. The second argument is # the path on the guest to mount the folder. And the optional third # argument is a set of non-required options. config.vm.synced_folder "../NMDM", "/NMDM" # Settings for VirtualBox # YOU MUST HAVE VIRTUAL BOX FOR THIS TO WORK config.vm.provider "virtualbox" do |vb| # Customize the amount of memory on the VM: # You should adjust this based on your computer's memory # 32 bit machines generally cannot exceed 3GB of memory vb.memory = "3000" end # # View the documentation for the provider you are using for more # information on available options. # This provisions the machine through a shell script config.vm.provision "shell", inline: <<-SHELL sudo apt-get update sudo apt-get install -y git sudo apt-get install -y gdal-bin SHELL end