-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
40 lines (28 loc) · 855 Bytes
/
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
# coding: utf-8
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# config.vm.box = "rhel-cdk-kubernetes-7.3"
config.vm.box = "centos/7"
config.vm.provider "virtualbox" do |vb|
#vb.gui = true
vb.cpus = "2"
vb.memory = "2500"
end
config.ssh.forward_x11 = true
# config.vbguest.auto_update = false
config.vm.synced_folder ".", "/vagrant", type: "virtualbox"
config.vm.provision "shell", path: "bin/provision"
config.vm.define "default", primary: true do |c|
c.vm.hostname = "jon-server"
c.vm.network "private_network", ip: "192.168.50.2"
end
config.vm.define "jboss" do |c|
c.vm.hostname = "jboss"
c.vm.network "private_network", ip: "192.168.50.3"
c.vm.provider "virtualbox" do |vb|
vb.cpus = "1"
vb.memory = "512"
end
end
end