Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
updated info
Browse files Browse the repository at this point in the history
  • Loading branch information
RobWC committed Apr 7, 2015
1 parent 9e05a7e commit d3654e6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/proctorconfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

8 changes: 6 additions & 2 deletions scripts/ndo-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
post-up route add -net 10.10.0.0 netmask 255.255.252.0 gw 172.16.0.1 dev eth1
post-up route add -net 192.168.10.0 netmask 255.255.255.0 gw 172.16.0.1 dev eth1
EOF

sudo apt-get purge network-manager -y
sudo ifdown eth1
sudo ifup eth1

0 comments on commit d3654e6

Please sign in to comment.