如何在 VM 盒上升级到 VirtualBox Guest Additions? [英] How to upgrade to VirtualBox Guest Additions on VM box?

查看:35
本文介绍了如何在 VM 盒上升级到 VirtualBox Guest Additions?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的桌面上安装了最新版本的 VirtualBox (4.3.4).

I've got the latest version of VirtualBox installed on my desktop (4.3.4).

我正在使用 Vagrant 运行基于示例 64 位 Ubuntu 12.04 LTS 框的 VM:

I'm using Vagrant to run a VM based on the example 64-bit Ubuntu 12.04 LTS box at:

http://files.vagrantup.com/precise64.box

每次运行 vagrant up 时,都会收到以下警告:

Everytime I run vagrant up, I get the following warning:

The guest additions on this VM do not match the installed version of
VirtualBox! In most cases this is fine, but in rare cases it can
cause things such as shared folders to not work properly. If you see
shared folder errors, please update the guest additions within the
virtual machine and reload your VM.

Guest Additions Version: 4.2.0
VirtualBox Version: 4.3

我用谷歌搜索过,但找不到升级到 Guest Additions v4.3 的方法.Ubuntu存储库中的最新版本是4.1,VirtualBox官方下载页面上没有下载链接.

I've googled, but I can't find a way to upgrade to Guest Additions v4.3. The latest version in the Ubuntu repository for precise is 4.1, and there's no download link on the official VirtualBox download page.

推荐答案

您可以查看以下插件,它应该适合您的需求:

You can check out the following plugin, it should suit your needs:

https://github.com/dotless-de/vagrant-vbguest

对于 Vagrant ≥ 1.1

For Vagrant ≥ 1.1

vagrant 插件安装 vagrant-vbguest

Vagrant 1.0 及更早版本

Vagrant 1.0 and older

vagrant gem install vagrant-vbguest

这篇关于如何在 VM 盒上升级到 VirtualBox Guest Additions?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆