2012-07-29 02:58:10 +00:00
|
|
|
require "vagrant/action/builtin/confirm"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module ProviderVirtualBox
|
|
|
|
module Action
|
|
|
|
class DestroyConfirm < Vagrant::Action::Builtin::Confirm
|
|
|
|
def initialize(app, env)
|
2012-12-23 06:43:35 +00:00
|
|
|
force_key = :force_confirm_destroy
|
|
|
|
message = I18n.t("vagrant.commands.destroy.confirmation",
|
|
|
|
:name => env[:machine].name)
|
2012-07-29 02:58:10 +00:00
|
|
|
|
2012-12-23 06:43:35 +00:00
|
|
|
super(app, env, message, force_key)
|
2012-07-29 02:58:10 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|