From b39eca5cc2361d6e4fb9040cc7cb9156e7d9790b Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Tue, 5 Jun 2018 10:37:15 +0100
Subject: [PATCH] removed unncesary sudo from vagrantfiles

---
 Vagrantfile         | 2 +-
 Vagrantfile.libvirt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Vagrantfile b/Vagrantfile
index 0a9a853..89e39b3 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -5,7 +5,7 @@ apt-get update
 # install util for persistent ip tables
 echo iptables-persistent iptables-persistent/autosave_v4 boolean true | sudo debconf-set-selections
 echo iptables-persistent iptables-persistent/autosave_v6 boolean true | sudo debconf-set-selections
-sudo apt-get -y install iptables-persistent
+apt-get -y install iptables-persistent
 
 # install lxc
 apt-get install lxc lxc-templates wget bridge-utils jq -y
diff --git a/Vagrantfile.libvirt b/Vagrantfile.libvirt
index c7ac8b9..8f6a30b 100644
--- a/Vagrantfile.libvirt
+++ b/Vagrantfile.libvirt
@@ -5,7 +5,7 @@ apt-get update
 # install util for persistent ip tables
 echo iptables-persistent iptables-persistent/autosave_v4 boolean true | sudo debconf-set-selections
 echo iptables-persistent iptables-persistent/autosave_v6 boolean true | sudo debconf-set-selections
-sudo apt-get -y install iptables-persistent
+apt-get -y install iptables-persistent
 
 # install lxc
 apt-get install lxc lxc-templates wget bridge-utils jq -y
-- 
GitLab