vagrant-lxc-ng/lib/vagrant-lxc/action/destroy.rb
2013-03-03 02:24:05 -03:00

13 lines
249 B
Ruby

module Vagrant
module LXC
module Action
class Destroy < BaseAction
def call(env)
env[:machine].provider.container.destroy
env[:machine].id = nil
@app.call env
end
end
end
end
end