1 # Copyright 2018 AT&T Intellectual Property. All rights reserved
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 Vagrant.require_version ">= 1.8.6"
15 Vagrant.configure("2") do |config|
17 config.vm.box = "bento/ubuntu-16.04"
18 config.vm.provider :virtualbox do |vb|
19 vb.customize ["modifyvm", :id, "--memory", 12288]
20 vb.customize ["modifyvm", :id, "--cpus", 8]
21 vb.customize "post-boot",["controlvm", :id, "setlinkstate1", "on"]
24 config.vm.define "policy" do |config|
25 config.vm.hostname = "policy"
26 config.vm.network "private_network", ip: "192.168.0.10"
27 config.vm.provision "shell", path: "setup_policy.sh", privileged: false