Sha256: 833747e919988434df947373462cba9f1a63656dc55e50928fbe688c2f29a23d

Contents?: true

Size: 350 Bytes

Versions: 64

Compression:

Stored size: 350 Bytes

Contents

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

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

Version data entries

64 entries across 57 versions & 8 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/providers/hyperv/action/suspend_vm.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/providers/hyperv/action/suspend_vm.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/providers/hyperv/action/suspend_vm.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/providers/hyperv/action/suspend_vm.rb