#!/bin/bash set -xe ONOS_BRANCH=${1:-master} cp /etc/skel/.bashrc ~/ cp /etc/skel/.profile ~/ cp /etc/skel/.bash_logout ~/ # ONOS git clone https://github.com/opennetworkinglab/onos.git -b ${ONOS_BRANCH} tee -a ~/.bashrc <> ~/.bashrc