20 lines
427 B
Ruby
20 lines
427 B
Ruby
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module CommandReload
|
|
class Plugin < Vagrant.plugin("1")
|
|
name "reload command"
|
|
description <<-DESC
|
|
The `reload` command will halt, reconfigure your machine based on
|
|
the Vagrantfile, and bring it back up.
|
|
DESC
|
|
|
|
activated do
|
|
require File.expand_path("../command", __FILE__)
|
|
end
|
|
|
|
command("reload") { Command }
|
|
end
|
|
end
|
|
end
|