Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update vagrant centos config to CentOS 7.4
[vpp.git]
/
extras
/
vagrant
/
update.sh
diff --git
a/extras/vagrant/update.sh
b/extras/vagrant/update.sh
index
b630449
..
b4962bf
100755
(executable)
--- a/
extras/vagrant/update.sh
+++ b/
extras/vagrant/update.sh
@@
-42,6
+42,11
@@
if [ $DISTRIB_ID == "Ubuntu" ]; then
# Install useful but non-mandatory tools
apt-get install -y emacs x11-utils git-review gdb gdbserver xfce4-terminal iperf3
elif [ $DISTRIB_ID == "CentOS" ]; then
# Install useful but non-mandatory tools
apt-get install -y emacs x11-utils git-review gdb gdbserver xfce4-terminal iperf3
elif [ $DISTRIB_ID == "CentOS" ]; then
+ if [ "$(echo $DISTRIB_RELEASE | cut -d'.' -f1)" == "7" ]; then
+ rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+ yum groupinstall "X Window system" -y
+ yum groupinstall xfce -y
+ fi
# Standard update + upgrade dance
yum check-update
yum update -y
# Standard update + upgrade dance
yum check-update
yum update -y