Vagrant Tip: Virtualbox Guest Additions

12 February 2016

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!

最新文章

  1. WinForm实现对权限菜单进行管理
  2. 我个人结合到老师的来理解的——Asp.net Webform的页面生命周期
  3. VC++ 两种动态调整控件位置的方法(CButton设置为Radio形式会出现错误)
  4. 【BZOJ 1096】【ZJOI 2007】仓库建设 DP+斜率优化
  5. web.config
  6. Linux操作系统学习笔记
  7. jquery得到iframe src属性值的方法
  8. devexpress中ASPxGridView控件初始化赋值
  9. MYSQL的存储引擎一般只要哪些?
  10. 去掉display:inline-block元素间的多余空白
  11. 面试问到struts1与struts2的解析对比
  12. Netty4.x分析
  13. C# Thread多线程学习
  14. POJ_3111_K_Best_(二分,最大化平均值)
  15. 在ubuntu14.04 64位中使用jd-gui
  16. 文字排版--删除线(text-decoration:line-through)
  17. 单向链表(C#)
  18. Struts2 struts.xml配置
  19. lua 限流
  20. 解决svn--Unable to connect to a repository at URL ‘https://xxxxxx’ 问题

热门文章

  1. flutter 踩坑总结
  2. URL Schemes 不能识别和不能跳转的原因
  3. 快速排序算法思路分析和C++源代码(递归和非递归)
  4. Java8函数之旅 (三) --几道关于流的练习题
  5. 洛谷 3567/BZOJ 3524 Couriers
  6. 重载&重写
  7. 详解三种java实现多线程的方式
  8. js时间转换
  9. 十六、MySQL LIKE 子句
  10. JavaScript事件对象与事件的委托