[a97c51e] | 1 | # -*- mode: ruby -*- |
---|
| 2 | # vi: set ft=ruby : |
---|
| 3 | |
---|
[96032b3] | 4 | # This allows you to build sasview using vagrant |
---|
| 5 | # for the moment you can build Ubuntu on any platform supported by vagrant |
---|
| 6 | # (Linux, Mac, Windows) |
---|
| 7 | # You will need VirtualBox as well. |
---|
| 8 | # Download pages: |
---|
| 9 | # http://www.vagrantup.com/downloads |
---|
| 10 | # https://www.virtualbox.org/wiki/Downloads |
---|
| 11 | |
---|
[a97c51e] | 12 | # All Vagrant configuration is done below. The "2" in Vagrant.configure |
---|
| 13 | # configures the configuration version (we support older styles for |
---|
| 14 | # backwards compatibility). Please don't change it unless you know what |
---|
| 15 | # you're doing. |
---|
| 16 | Vagrant.configure(2) do |config| |
---|
| 17 | # The most common configuration options are documented and commented below. |
---|
| 18 | # For a complete reference, please see the online documentation at |
---|
| 19 | # https://docs.vagrantup.com. |
---|
| 20 | |
---|
| 21 | # Every Vagrant development environment requires a box. You can search for |
---|
| 22 | # boxes at https://atlas.hashicorp.com/search. |
---|
[601b93d] | 23 | config.vm.box = "ubuntu/trusty64" |
---|
[a97c51e] | 24 | #config.vm.box = "fedora19" |
---|
| 25 | #config.vm.box_url = "https://dl.dropboxusercontent.com/u/86066173/fedora-19.box" |
---|
| 26 | #config.vm.box = "fedora20" |
---|
| 27 | #config.vm.box_url = "https://dl.dropboxusercontent.com/u/15733306/vagrant/fedora-20-netinst-2014_01_05-minimal-puppet-guestadditions.box" |
---|
| 28 | |
---|
| 29 | # Provider-specific configuration so you can fine-tune various |
---|
| 30 | # backing providers for Vagrant. These expose provider-specific options. |
---|
| 31 | # Example for VirtualBox: |
---|
| 32 | # |
---|
| 33 | config.vm.provider "virtualbox" do |vb| |
---|
| 34 | # # Display the VirtualBox GUI when booting the machine |
---|
| 35 | # vb.gui = true |
---|
| 36 | # |
---|
| 37 | # # Customize the amount of memory on the VM: |
---|
| 38 | vb.memory = "1024" |
---|
| 39 | vb.cpus = "1" |
---|
| 40 | end |
---|
| 41 | # |
---|
| 42 | config.vm.provision :shell, :path => "Vagrantprovision.sh" |
---|
| 43 | end |
---|