From d3654e6f147f0c81654cf274e7dd184a61073393 Mon Sep 17 00:00:00 2001 From: Rob Cameron Date: Tue, 7 Apr 2015 10:45:24 -0700 Subject: [PATCH] updated info --- Vagrantfile | 6 ++++++ docs/proctorconfiguration.md | 4 ++-- scripts/ndo-setup.sh | 8 ++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 0f4ba50..1b216a5 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -16,12 +16,18 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ip: "172.16.0.10", virtualbox__intnet: "NetDevOps-StudentInternal" config.vm.synced_folder "", "/vagrant" + config.ssh.password = "vagrant" ndo.vm.provider "virtualbox" do |v| + # comment out to disable gui from starting v.gui = true + # comment out below lines if you disable gui + v.customize ["modifyvm", :id, "--vram", "128"] + v.customize ["modifyvm", :id, "--accelerate3d", "on"] end ndo.vm.provision "shell" do |s| + # this script provisions the ndo box for you s.path = "scripts/ndo-setup.sh" end end diff --git a/docs/proctorconfiguration.md b/docs/proctorconfiguration.md index 693bcac..30e9ee1 100644 --- a/docs/proctorconfiguration.md +++ b/docs/proctorconfiguration.md @@ -17,7 +17,7 @@ There are three virtual machines contained within the proctor vagrant file. Plea - [Reggie](https://github.com/JNPRAutomate/reggie) - Hosts license files - You need to provide the license files as do to restrictions they are not in the lab - - vSRX licenses can be used accross multiple hosts + - vSRX licenses can be used across multiple hosts - NetDevOps Private @@ -31,5 +31,5 @@ There are three virtual machines contained within the proctor vagrant file. Plea - Uses bridged interface for 10.10.0.5 - Uses private network interface for 192.168.10.1 - If your network does not provide a DHCP server this host can provide DHCP services - - This must be configured seperately + - This must be configured separately diff --git a/scripts/ndo-setup.sh b/scripts/ndo-setup.sh index e8ede6b..f5d06ae 100644 --- a/scripts/ndo-setup.sh +++ b/scripts/ndo-setup.sh @@ -7,11 +7,15 @@ export ANSIBLE_LIBRARY=/etc/ansible/roles/ EOF fi -ip r a 10.10.0.0/22 via 172.16.0.1 dev eth1 -ip r a 192.168.10.0/24 via 172.16.0.1 dev eth1 +sudo ip r a 10.10.0.0/22 via 172.16.0.1 dev eth1 +sudo ip r a 192.168.10.0/24 via 172.16.0.1 dev eth1 cat >> /etc/network/interfaces <