Module: Vagrant::Action

Defined in:
lib/vagrant/action.rb,
lib/vagrant/action/hook.rb,
lib/vagrant/action/runner.rb,
lib/vagrant/action/warden.rb,
lib/vagrant/action/builder.rb,
lib/vagrant/action/builtin/nfs.rb,
lib/vagrant/action/builtin/call.rb,
lib/vagrant/action/builtin/lock.rb,
lib/vagrant/action/builtin/box_add.rb,
lib/vagrant/action/builtin/confirm.rb,
lib/vagrant/action/builtin/env_set.rb,
lib/vagrant/action/builtin/ssh_run.rb,
lib/vagrant/action/general/package.rb,
lib/vagrant/action/builtin/ssh_exec.rb,
lib/vagrant/action/builtin/provision.rb,
lib/vagrant/action/builtin/set_hostname.rb,
lib/vagrant/action/builtin/graceful_halt.rb,
lib/vagrant/action/builtin/handle_box_url.rb,
lib/vagrant/action/builtin/config_validate.rb,
lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb

Defined Under Namespace

Modules: Builtin, General Classes: Builder, Hook, Runner, Warden

Class Method Summary collapse

Class Method Details

.action_box_addObject

This is the action that will add a box from a URL. This middleware sequence is built-in to Vagrant. Plugins can hook into this like any other middleware sequence. This is particularly useful for provider plugins, which can hook in to do things like verification of boxes that are downloaded.



36
37
38
39
40
# File 'lib/vagrant/action.rb', line 36

def self.action_box_add
  Builder.new.tap do |b|
    b.use Builtin::BoxAdd
  end
end