vagrant/plugins/commands/up/plugin.rb

26 lines
599 B
Ruby
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
2012-04-19 16:59:48 -04:00
require "vagrant"
module VagrantPlugins
module CommandUp
2012-11-07 00:05:14 -05:00
class Plugin < Vagrant.plugin("2")
2012-04-19 16:59:48 -04:00
name "up command"
description <<-DESC
The `up` command brings the virtual environment up and running.
DESC
command("up") do
require File.expand_path("../command", __FILE__)
Command
end
action_hook(:store_box_metadata, :machine_action_up) do |hook|
require_relative "middleware/store_box_metadata"
hook.append(StoreBoxMetadata)
end
2012-04-19 16:59:48 -04:00
end
end
end