vagrant-vbguest
https://github.com/dotless-de/vagrant-vbguest
VirtualBoxのゲストOS用ソフトを更新する
・インストール方法
$ vagrant plugin install vagrant-vbguest
・使い方
設定例:
Vagrant::Config.run do |config|
# we will try to autodetect this path.
# However, if we cannot or you have a special one you may pass it like:
# config.vbguest.iso_path = “#{ENV[‘HOME’]}/Downloads/VBoxGuestAdditions.iso”
# or
# config.vbguest.iso_path = “http://company.server/VirtualBox/%{version}/VBoxGuestAdditions.iso”# set auto_update to false, if you do NOT want to check the correct
# additions version when booting this machine
config.vbguest.auto_update = false# do NOT download the iso file from a webserver
config.vbguest.no_remote = true
end
設定オプション:
iso_path : VBoxGuestAdditions.isoファイルのフルパスorURLを指定
auto_update (Boolean, default: true) : 新しいバージョンを確認するかどうか
auto_reboot (Boolean, default: true when running as a middleware, false when running as a command) : GuestAdditionsがインストールされていて、ロードされていない場合にboxを再起動するかどうか
no_install (Boolean, default: false) : バージョンのチェック後にインストールを実行しないかどうか。バージョンミスマッチの警告は表示される
no_remote (Boolean, default: false) : 遠隔地(任意のhttpアドレスを含む)のisoファイルをダウンロードしないかどうか。
installer (VagrantVbguest::Installers::Base, optional) : インストーラークラスへの参照