首页 > 代码库 > Vagrant Tip: Virtualbox Guest Additions
Vagrant Tip: Virtualbox Guest Additions
Vagrant Tip: Virtualbox Guest Additions
Tired of seeing this message when you run vagrant up
?
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.3.36
default: VirtualBox Version: 5.0
There’s fix for that. Check out the vbguest vagrant plugin. Install the plugin with the following command.
$ vagrant plugin install vagrant-vbguest
Installing the ‘vagrant-vbguest‘ plugin. This can take a few minutes...
Installed the plugin ‘vagrant-vbguest (0.11.0)‘!
The first time you run vagrant up
you will see a lot of messages about unused packages, the uninstall output for removing the old version of Guest Additions, and the install output for installing the new version of Guest Additions. On my laptop, this is about 140 lines of output text. This isn’t a big deal. I’m just saying that this plugin is noisy.
Now, when running vagrant up
, you should see the following output.
==> default: Machine booted and ready!
GuestAdditions 5.0.10 running --- OK.
==> default: Checking for guest additions in VM...
Much better!
Vagrant Tip: Virtualbox Guest Additions
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。