[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. |
---|
| 23 | config.vm.box = "ubuntu1404" |
---|
| 24 | config.vm.box_url = "https://github.com/hnakamur/packer-templates/releases/download/v1.0.2/ubuntu-14-04-x64-virtualbox.box" |
---|
| 25 | #config.vm.box = "fedora19" |
---|
| 26 | #config.vm.box_url = "https://dl.dropboxusercontent.com/u/86066173/fedora-19.box" |
---|
| 27 | #config.vm.box = "fedora20" |
---|
| 28 | #config.vm.box_url = "https://dl.dropboxusercontent.com/u/15733306/vagrant/fedora-20-netinst-2014_01_05-minimal-puppet-guestadditions.box" |
---|
| 29 | |
---|
| 30 | # Provider-specific configuration so you can fine-tune various |
---|
| 31 | # backing providers for Vagrant. These expose provider-specific options. |
---|
| 32 | # Example for VirtualBox: |
---|
| 33 | # |
---|
| 34 | config.vm.provider "virtualbox" do |vb| |
---|
| 35 | # # Display the VirtualBox GUI when booting the machine |
---|
| 36 | # vb.gui = true |
---|
| 37 | # |
---|
| 38 | # # Customize the amount of memory on the VM: |
---|
| 39 | vb.memory = "1024" |
---|
| 40 | vb.cpus = "1" |
---|
| 41 | end |
---|
| 42 | # |
---|
| 43 | config.vm.provision :shell, :path => "Vagrantprovision.sh" |
---|
| 44 | end |
---|