Sha256: 1da94144f37cf4553f24f0f8dc0dc775627e941759a0779f83710651cbc0d4bb

Contents?: true

Size: 427 Bytes

Versions: 6

Compression:

Stored size: 427 Bytes

Contents

module Vagrant
  module Actions
    module VM
      class Customize < Base
        def execute!
          if !runner.env.config.vm.proc_stack.empty?
            logger.info "Running any VM customizations..."

            # Run the customization procs over the VM
            runner.env.config.vm.run_procs!(@runner.vm)

            # Save the vm
            runner.vm.save
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
vagrantup-0.4.3.dev lib/vagrant/actions/vm/customize.rb
vagrantup-0.4.1 lib/vagrant/actions/vm/customize.rb
vagrantup-0.4.0 lib/vagrant/actions/vm/customize.rb
vagrant-0.4.2 lib/vagrant/actions/vm/customize.rb
vagrant-0.4.1 lib/vagrant/actions/vm/customize.rb
vagrant-0.4.0 lib/vagrant/actions/vm/customize.rb