vagrant-lxc-ng/lib/vagrant-lxc/action/destroy_confirm.rb

18 lines
444 B
Ruby
Raw Normal View History

2013-04-18 06:11:36 +00:00
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