Revision 0d271f94 util/vm/install-mininet-vm.sh

View differences:

util/vm/install-mininet-vm.sh
6 6
#
7 7
# optional argument: Mininet branch to install
8 8
set -e
9
echo `whoami` ALL=NOPASSWD: ALL | sudo tee -a /etc/sudoers > /dev/null
9
echo `whoami` ALL=(ALL) NOPASSWD:ALL | sudo tee -a /etc/sudoers > /dev/null
10 10
sudo sed -i -e 's/Default/#Default/' /etc/sudoers
11 11
echo mininet-vm | sudo tee /etc/hostname > /dev/null
12 12
sudo sed -i -e 's/ubuntu/mininet-vm/g' /etc/hosts

Also available in: Unified diff