2012-04-19 20:59:48 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module CommandHalt
|
2012-11-07 05:05:14 +00:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2012-04-19 20:59:48 +00:00
|
|
|
name "halt command"
|
|
|
|
description <<-DESC
|
2012-11-19 21:10:04 +00:00
|
|
|
The `halt` command shuts your virtual machine down forcefully.
|
|
|
|
The command `up` recreates it.
|
2012-04-19 20:59:48 +00:00
|
|
|
DESC
|
|
|
|
|
2012-05-23 23:18:29 +00:00
|
|
|
command("halt") do
|
2012-05-22 05:43:13 +00:00
|
|
|
require File.expand_path("../command", __FILE__)
|
2012-05-23 23:18:29 +00:00
|
|
|
Command
|
2012-05-22 05:43:13 +00:00
|
|
|
end
|
2012-04-19 20:59:48 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|