-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
37 lines (31 loc) · 1.13 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-22.04"
config.vm.synced_folder ".", "/vagrant"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network "public_network"
config.vm.hostname = "ewc-explorer-jupyterhub"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# Customize the amount of memory on the VM:
vb.memory = 8096
vb.cpus = 4
end
config.vm.disk :disk, size: "20GB", name: "home2"
config.vm.disk :disk, size: "50GB", name: "cache"
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = "vagrant-provision.yml"
ansible.become = true
end
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = "research-cloud-plugin.yml"
ansible.become = true
ansible.extra_vars = "research-cloud-plugin.vagrant.vars"
end
end