blob: b7a77392227c9c6a16184de5d3d7048de77ac226 [file] [log] [blame]
Carmelo Casconed6615072017-12-15 00:53:43 -08001#!/bin/bash
2set -xe
3
4cp /etc/skel/.bashrc ~/
5cp /etc/skel/.profile ~/
6cp /etc/skel/.bash_logout ~/
7
8# ONOS
9git clone https://github.com/opennetworkinglab/onos.git
Carmelo Casconeb7e618d2018-01-12 18:31:33 -080010tee -a ~/.profile <<EOF
11
12# ONOS
13export ONOS_ROOT=~/onos
14source ~/onos/tools/dev/bash_profile
Carmelo Casconef11513d2018-01-16 00:31:14 -080015source ~/onos/tools/dev/p4vm/bm-commands.sh
Carmelo Casconeb7e618d2018-01-12 18:31:33 -080016EOF
17source ~/.profile
Carmelo Casconed6615072017-12-15 00:53:43 -080018
19# Build and install P4 tools
Carmelo Casconeb7e618d2018-01-12 18:31:33 -080020bash /vagrant/install-p4-tools.sh
Carmelo Casconed6615072017-12-15 00:53:43 -080021
22# Mininet
23git clone git://github.com/mininet/mininet ~/mininet
24sudo ~/mininet/util/install.sh -nwv