Sha256: 96a29ab11460ca4278305c4adc3f5ea63070cb37c416027262952a8d2e58a6e7
Contents?: true
Size: 1.83 KB
Versions: 10
Compression:
Stored size: 1.83 KB
Contents
begin require "vagrant" rescue LoadError raise "The Vagrant VBGuest plugin must be run within Vagrant." end # Add our custom translations to the load path I18n.load_path << File.expand_path("../../locales/en.yml", __FILE__) I18n.reload! require "vagrant-vbguest/errors" require 'vagrant-vbguest/vagrant_compat' require 'vagrant-vbguest/helpers' require 'vagrant-vbguest/machine' require 'vagrant-vbguest/hosts/base' require 'vagrant-vbguest/hosts/virtualbox' require 'vagrant-vbguest/installer' require 'vagrant-vbguest/installers/base' require 'vagrant-vbguest/installers/linux' require 'vagrant-vbguest/installers/debian' require 'vagrant-vbguest/installers/ubuntu' require 'vagrant-vbguest/installers/redhat' require 'vagrant-vbguest/installers/oracle' require 'vagrant-vbguest/installers/fedora' require 'vagrant-vbguest/installers/opensuse' require 'vagrant-vbguest/installers/suse' require 'vagrant-vbguest/installers/archlinux' require 'vagrant-vbguest/middleware' module VagrantVbguest class Plugin < Vagrant.plugin("2") name "vagrant-vbguest" description <<-DESC Provides automatic and/or manual management of the VirtualBox Guest Additions inside the Vagrant environment. DESC config('vbguest') do require File.expand_path("../vagrant-vbguest/config", __FILE__) Config end command('vbguest') do Command end # hook after anything that boots: # that's all middlewares which will run the buildin "VM::Boot" action action_hook('vbguest') do |hook| if defined?(VagrantPlugins::ProviderVirtualBox::Action::CheckGuestAdditions) hook.before(VagrantPlugins::ProviderVirtualBox::Action::CheckGuestAdditions, VagrantVbguest::Middleware) else hook.after(VagrantPlugins::ProviderVirtualBox::Action::Boot, VagrantVbguest::Middleware) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems