Merge pull request #9381 from chrisroberts/f-centos-guestadditions

Include current kernel version when install devel package
This commit is contained in:
Chris Roberts 2018-01-16 16:49:14 -08:00 committed by GitHub
commit f44491fced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ set -xe
curl -Lo /etc/yum.repos.d/virtualbox.repo http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
yum groupinstall -y "Development Tools"
yum install -y kernel-devel
yum install -y kernel-devel-$(uname -r)
yum install -y VirtualBox-${VAGRANT_CENTOS_VIRTUALBOX_VERSION:-5.1}
pushd /vagrant