【发布时间】:2018-08-18 14:28:23
【问题描述】:
背景:
我在我的 macOS 上使用 VirtualBox 创建了一个 沙盒 VM。它正确地启动了一个我可以访问的虚拟机(上面运行着 CentOS7)。
在这个沙盒虚拟机中,我想启动几个虚拟机来测试带有 Kitchen CI 和 Vagrant 的 Ansible Playbook,因此我通过以下链接下载了 VirtualBox:https://download.virtualbox.org/virtualbox/5.2.8/VirtualBox-5.2-5.2.8_121009_el7-1.x86_64.rpm
安装后我执行了命令:
[david@vmkitchen-env ansible-test]# VBoxManage --version
它返回:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.10.0-693.2.1.el7.x86_64) or it
failed to load. Please recompile the kernel module and install it
by
sudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.
5.2.8r121009
我安装了开发工具,但一直遇到同样的问题。
我认为我不需要重新编译任何内核模块。有什么想法吗?
提前感谢您的帮助。
【问题讨论】:
标签: virtualbox centos7 kernel-module