blob: 73d4ba3c020199830194bcc87eaacd0b6d6c485b [file] [log] [blame]
Guo Ruijing5891e102017-07-12 03:19:14 +08001Vagrant.require_version ">= 1.8.6"
2Vagrant.configure("2") do |config|
3
4 config.vm.box = "bento/ubuntu-16.04"
5 config.vm.provider :virtualbox do |vb|
6 vb.customize ["modifyvm", :id, "--memory", 12288]
7 vb.customize ["modifyvm", :id, "--cpus", 8]
8 vb.customize "post-boot",["controlvm", :id, "setlinkstate1", "on"]
9 end
10
11 config.vm.define "policy" do |config|
12 config.vm.hostname = "policy"
13 config.vm.network "private_network", ip: "192.168.0.10"
14 config.vm.provision "shell", path: "setup_policy.sh", privileged: false
15 end
16
17end