This repository has been archived by the owner on Jun 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Vagrantfile
65 lines (52 loc) · 1.76 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "cli", primary: true do |cli|
cli.vm.box = "bento/ubuntu-16.04"
cli.vm.hostname = "toolbox"
cli.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
end
end
# Core CLI tools
config.vm.provision "core-cli", type: "ansible_local" do |ansible|
ansible.playbook = "core-cli.yml"
end
# Customization for CLI
config.vm.provision "customization-cli", type: "ansible_local" do |ansible|
ansible.playbook = "customization-cli.yml"
end
# Ethereum CLI tools
config.vm.provision "ethereum-cli", type: "ansible_local" do |ansible|
ansible.playbook = 'ethereum-cli.yml'
end
# Quorum (CLI)
config.vm.provision "quorum-cli", type: "ansible_local" do |ansible|
ansible.playbook = 'quorum-cli.yml'
end
# Bitcoin CLI tools
config.vm.provision "bitcoin-cli", type: "ansible_local" do |ansible|
ansible.playbook = 'bitcoin-cli.yml'
end
# Hyperledger Fabric (CLI)
config.vm.provision "hlfabric-cli", type: "ansible_local" do |ansible|
ansible.playbook = 'hlfabric-cli.yml'
end
config.vm.define "gui", primary: false, autostart: false do |gui|
gui.vm.box = "viruzzo/xubuntu-xenial64"
gui.vm.hostname = "toolbox"
gui.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "4096"
vb.customize ["modifyvm", :id, "--vram", "64"]
end
# Core GUI tools
config.vm.provision "core-gui", type: "ansible_local" do |ansible|
ansible.playbook = 'core-gui.yml'
end
# Ethereum GUI tools
config.vm.provision "ethereum-gui", type: "ansible_local" do |ansible|
ansible.playbook = 'ethereum-gui.yml'
end
end
end