vagrant-lxc-ng/lib/vagrant-lxc/action/destroy_confirm.rb
2013-04-18 03:11:36 -03:00

17 lines
444 B
Ruby

require "vagrant/action/builtin/confirm"
module Vagrant
module LXC
module Action
class DestroyConfirm < Vagrant::Action::Builtin::Confirm
def initialize(app, env)
force_key = :force_confirm_destroy
message = I18n.t("vagrant.commands.destroy.confirmation",
:name => env[:machine].name)
super(app, env, message, force_key)
end
end
end
end
end