From 0d271f9477b96272de26a46d43aa61d364344138 Mon Sep 17 00:00:00 2001
From: cody burkard <cody@onlab.us>
Date: Mon, 17 Nov 2014 16:19:28 -0800
Subject: [PATCH] fix sudoers file to allow -u option

---
 util/vm/install-mininet-vm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/vm/install-mininet-vm.sh b/util/vm/install-mininet-vm.sh
index 3c82e75d..428459c7 100755
--- a/util/vm/install-mininet-vm.sh
+++ b/util/vm/install-mininet-vm.sh
@@ -6,7 +6,7 @@
 #
 # optional argument: Mininet branch to install
 set -e
-echo `whoami` ALL=NOPASSWD: ALL | sudo tee -a /etc/sudoers > /dev/null
+echo `whoami` ALL=(ALL) NOPASSWD:ALL | sudo tee -a /etc/sudoers > /dev/null
 sudo sed -i -e 's/Default/#Default/' /etc/sudoers
 echo mininet-vm | sudo tee /etc/hostname > /dev/null
 sudo sed -i -e 's/ubuntu/mininet-vm/g' /etc/hosts
-- 
GitLab