Sha256: cff532864b06bc4e924226bf35bcf67c8177dd489ed4368ceeff954b280492b0
Contents?: true
Size: 407 Bytes
Versions: 10
Compression:
Stored size: 407 Bytes
Contents
module Vagrant class Action module VM class Destroy def initialize(app, env) @app = app end def call(env) env.logger.info "Destroying VM and associated drives..." env["vm"].vm.destroy(:destroy_medium => :delete) env["vm"].vm = nil env.env.update_dotfile @app.call(env) end end end end end
Version data entries
10 entries across 10 versions & 2 rubygems