aboutsummaryrefslogtreecommitdiffstats
path: root/extras/vagrant/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vagrant/install.sh')
-rwxr-xr-x[-rw-r--r--]extras/vagrant/install.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/vagrant/install.sh b/extras/vagrant/install.sh
index a53faa4dd73..cfe5fe5b2d0 100644..100755
--- a/extras/vagrant/install.sh
+++ b/extras/vagrant/install.sh
@@ -12,7 +12,7 @@ fi
if [ -f /etc/lsb-release ];then
. /etc/lsb-release
elif [ -f /etc/redhat-release ];then
- sudo yum install -y redhat-lsb
+ sudo -E yum install -y redhat-lsb
DISTRIB_ID=`lsb_release -si`
DISTRIB_RELEASE=`lsb_release -sr`
DISTRIB_CODENAME=`lsb_release -sc`
@@ -24,7 +24,7 @@ echo DISTRIB_CODENAME: $DISTRIB_CODENAME
echo DISTRIB_DESCRIPTION: $DISTRIB_DESCRIPTION
if [ $DISTRIB_ID == "Ubuntu" ]; then
- (cd ${VPP_DIR}/build-root/;sudo dpkg -i *.deb)
+ (cd ${VPP_DIR}/build-root/;sudo -E dpkg -i *.deb)
elif [ $DISTRIB_ID == "CentOS" ]; then
- (cd ${VPP_DIR}/build-root/;sudo rpm -Uvh *.rpm)
-fi \ No newline at end of file
+ (cd ${VPP_DIR}/build-root/;sudo -E rpm -Uvh *.rpm)
+fi