将virtualbox升级到6.0.6后,启动虚拟机会出现下面的问题。

error1

具体内容:

[default] GuestAdditions seems to be installed (6.0.6) correctly, but not running.
Redirecting to /bin/systemctl start vboxadd.service
Redirecting to /bin/systemctl start vboxadd-service.service
bash: Zeile 4: setup: Kommando nicht gefunden.
==> default: Checking for guest additions in VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

 setup

Stdout from the command:



Stderr from the command:

bash: Zeile 4: setup: Kommando nicht gefunden.

下面是根据这个问题找到的链接汇总:

解决方案

将virtualbox降级到6.0.4,在Vagrantfile文件中添加一下代码。

if Vagrant.has_plugin?("vagrant-vbguest")
    config.vbguest.auto_update = false
end

最后vagrant reload重启即可

最后修改:2020 年 08 月 13 日 10 : 42 AM
如果觉得我的文章对你有用,请随意赞赏