mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Include current kernel version when install devel package
This commit is contained in:
parent
6b1646eb51
commit
f4cc82dffc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue