Sha256: c1168ebcbb90de7c8959d4efa067e917b71de1662f06b01998691178eba9edfd

Contents?: true

Size: 310 Bytes

Versions: 17

Compression:

Stored size: 310 Bytes

Contents

module Vagrant
  module Actions
    module VM
      class Resume < Base
        def execute!
          if !@runner.vm.saved?
            raise ActionException.new(:vm_not_suspended)
          end

          logger.info "Resuming suspended VM..."
          @runner.start
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
vagrantup-0.4.3.dev lib/vagrant/actions/vm/resume.rb
vagrantup-0.4.1 lib/vagrant/actions/vm/resume.rb
vagrantup-0.4.0 lib/vagrant/actions/vm/resume.rb
vagrantup-0.3.4 lib/vagrant/actions/vm/resume.rb
vagrantup-0.3.3 lib/vagrant/actions/vm/resume.rb
vagrantup-0.3.2 lib/vagrant/actions/vm/resume.rb
vagrantup-0.3.1 lib/vagrant/actions/vm/resume.rb
vagrantup-0.3.0 lib/vagrant/actions/vm/resume.rb
vagrant-0.4.2 lib/vagrant/actions/vm/resume.rb
vagrant-0.4.1 lib/vagrant/actions/vm/resume.rb
vagrant-0.4.0 lib/vagrant/actions/vm/resume.rb
vagrant-0.3.4 lib/vagrant/actions/vm/resume.rb
vagrant-0.3.3 lib/vagrant/actions/vm/resume.rb
vagrant-0.3.2 lib/vagrant/actions/vm/resume.rb
vagrant-0.3.1 lib/vagrant/actions/vm/resume.rb
vagrant-0.3.0 lib/vagrant/actions/vm/resume.rb
bmabey-vagrant-0.2.0 lib/vagrant/actions/vm/resume.rb