vais-ral / CCPi-VirtualMachine

Set of scripts and configuration to prepare VM based on Scientific Linux 7 from scratch with CCPi from binaries or source codes.
MIT License
2 stars 2 forks source link

virtualbox guest addition fail to build on VM #34

Open paskino opened 5 years ago

paskino commented 5 years ago

image

paskino commented 5 years ago

vagrant complains

[default] GuestAdditions versions on your host (5.2.26) and guest (5.2.12) do not match.
Package kernel-devel-3.10.0-957.5.1.el7.x86_64 already installed and latest version
No package kernel-devel-3.10.0-862.11.6.el7.x86_64 available.
paskino commented 5 years ago

Basically it seems that the kernel headers for the installed version 3.10.0-862.11.6.el7.x86_64 aren't available. Upgrading the kernel to 3.10.0-957.5.1.el7.x86_64 did the trick.

sudo yum update -y kernel.x86_64