Carmelo Cascone | d661507 | 2017-12-15 00:53:43 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | set -xe |
| 3 | |
| 4 | cp /etc/skel/.bashrc ~/ |
| 5 | cp /etc/skel/.profile ~/ |
| 6 | cp /etc/skel/.bash_logout ~/ |
| 7 | |
| 8 | # ONOS |
| 9 | git clone https://github.com/opennetworkinglab/onos.git |
Carmelo Cascone | b7e618d | 2018-01-12 18:31:33 -0800 | [diff] [blame] | 10 | tee -a ~/.profile <<EOF |
| 11 | |
| 12 | # ONOS |
| 13 | export ONOS_ROOT=~/onos |
| 14 | source ~/onos/tools/dev/bash_profile |
| 15 | EOF |
| 16 | source ~/.profile |
Carmelo Cascone | d661507 | 2017-12-15 00:53:43 -0800 | [diff] [blame] | 17 | |
| 18 | # Build and install P4 tools |
Carmelo Cascone | b7e618d | 2018-01-12 18:31:33 -0800 | [diff] [blame] | 19 | bash /vagrant/install-p4-tools.sh |
Carmelo Cascone | d661507 | 2017-12-15 00:53:43 -0800 | [diff] [blame] | 20 | |
| 21 | # Mininet |
| 22 | git clone git://github.com/mininet/mininet ~/mininet |
| 23 | sudo ~/mininet/util/install.sh -nwv |