diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2017-09-26 18:15:47 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-09-27 17:54:10 +0000 |
commit | d51020cdfc1c023f1953a7b6970f12cf09985900 (patch) | |
tree | 622b11258aea81dd22a33e69e7df3eafa8285545 /extras/vagrant/update.sh | |
parent | 45c40dbb2c1fcafce17d5c901c9b317cde4b5cde (diff) |
Update vagrant centos config to CentOS 7.4
Change-Id: I45c1227b53ba9e57b94f1bc68de939cd3ce9d619
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'extras/vagrant/update.sh')
-rwxr-xr-x | extras/vagrant/update.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/vagrant/update.sh b/extras/vagrant/update.sh index b630449271e..b4962bfc313 100755 --- 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 + 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 |