vaguerent/lib/vagrant/actions/vm/customize.rb
2010-06-03 20:32:09 -07:00

20 lines
427 B
Ruby

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