module Vagrant::Action

Public Class Methods

action_box_add() click to toggle source

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.

# File lib/vagrant/action.rb, line 67
def self.action_box_add
  Builder.new.tap do |b|
    b.use Builtin::BoxAdd
  end
end
action_box_outdated() click to toggle source

This actions checks if a box is outdated in a given Vagrant environment for a single machine.

# File lib/vagrant/action.rb, line 75
def self.action_box_outdated
  Builder.new.tap do |b|
    b.use Builtin::BoxCheckOutdated
  end
end
action_box_remove() click to toggle source

This is the action that will remove a box given a name (and optionally a provider). This middleware sequence is built-in to Vagrant. Plugins can hook into this like any other middleware sequence.

# File lib/vagrant/action.rb, line 84
def self.action_box_remove
  Builder.new.tap do |b|
    b.use Builtin::BoxRemove
  end
end