-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the default Vagrantfile to load from a named file
- Loading branch information
1 parent
b57958c
commit 0c0bcb6
Showing
3 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,4 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
VAGRANTFILE_API_VERSION = "2" | ||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
|
||
config.vm.define "metomi-vm-ubuntu-1604" | ||
config.vm.box = "bento/ubuntu-16.04" | ||
# Remove "desktop" from the args below if only accessing via SSH | ||
# Remove "mosrs" from the args below if not accessing the Met Office Science Repository Service | ||
config.vm.provision :shell, path: "install.sh", args: "ubuntu 1604 desktop mosrs" | ||
config.ssh.forward_x11 = true | ||
|
||
config.vm.provider "virtualbox" do |v| | ||
v.name = "metomi-vm-ubuntu-1604" | ||
# Comment out the line below if only accessing via SSH | ||
v.gui = true | ||
# Modify the line below if you need more than 1GB RAM | ||
v.memory = 1024 | ||
v.cpus = 2 | ||
end | ||
|
||
end | ||
load 'Vagrantfile.ubuntu-1604' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
VAGRANTFILE_API_VERSION = "2" | ||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
|
||
config.vm.define "metomi-vm-ubuntu-1604" | ||
config.vm.box = "bento/ubuntu-16.04" | ||
# Remove "desktop" from the args below if only accessing via SSH | ||
# Remove "mosrs" from the args below if not accessing the Met Office Science Repository Service | ||
config.vm.provision :shell, path: "install.sh", args: "ubuntu 1604 desktop mosrs" | ||
config.ssh.forward_x11 = true | ||
|
||
config.vm.provider "virtualbox" do |v| | ||
v.name = "metomi-vm-ubuntu-1604" | ||
# Comment out the line below if only accessing via SSH | ||
v.gui = true | ||
# Modify the line below if you need more than 1GB RAM | ||
v.memory = 1024 | ||
v.cpus = 2 | ||
end | ||
|
||
end |