Sha256: e29072041ebaa4586373b540265eb8dbc7bb3ba65b7c987135956d5a44f42ccd
Contents?: true
Size: 617 Bytes
Versions: 26
Compression:
Stored size: 617 Bytes
Contents
module VagrantPlugins module Parallels module Action class Destroy def initialize(app, env) @app = app @logger = Log4r::Logger.new('vagrant_parallels::action::destroy') end def call(env) @logger.info('Disabling password restrictions: remove-vm') env[:machine].provider.driver.disable_password_restrictions(['remove-vm']) env[:ui].info I18n.t('vagrant.actions.vm.destroy.destroying') env[:machine].provider.driver.delete env[:machine].id = nil @app.call(env) end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems