Sha256: 920693fe1b7695006ee00883ea5e9a9a506915ac823dbb49d6eb434bde8c4771

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

module Vagrant
  module Actions
    module VM
      class Reload < Base
        def prepare
          steps = [Customize, ForwardPorts, SharedFolders, Boot]
          steps.unshift(Halt) if @runner.vm.running?
          steps << Provision if !Vagrant.config.vm.provisioner.nil?

          steps.each do |action_klass|
            @runner.add_action(action_klass)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
vagrantup-0.2.0 lib/vagrant/actions/vm/reload.rb
vagrant-0.2.0 lib/vagrant/actions/vm/reload.rb
vagrant-0.2.0.pre lib/vagrant/actions/vm/reload.rb