Merge pull request #9381 from chrisroberts/f-centos-guestadditions
Include current kernel version when install devel package
This commit is contained in:
commit
f44491fced
|
@ -3,7 +3,7 @@ set -xe
|
||||||
|
|
||||||
curl -Lo /etc/yum.repos.d/virtualbox.repo http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
|
curl -Lo /etc/yum.repos.d/virtualbox.repo http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
|
||||||
yum groupinstall -y "Development Tools"
|
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}
|
yum install -y VirtualBox-${VAGRANT_CENTOS_VIRTUALBOX_VERSION:-5.1}
|
||||||
|
|
||||||
pushd /vagrant
|
pushd /vagrant
|
||||||
|
|
Loading…
Reference in New Issue