Sha256: 750784fc72c24f90803c8e4733491d7b9c5eb26f2086f4134982ffc6ee58d575

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

module VagrantPlugins
  module HyperV
    module Action
      class DeleteVM
        def initialize(app, env)
          @app = app
        end

        def call(env)
          env[:ui].info("Deleting the machine...")
          env[:machine].provider.driver.delete_vm
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/providers/hyperv/action/delete_vm.rb