debugging++

This commit is contained in:
Fabio Rehm 2013-03-04 01:18:04 -03:00
parent 35f2c6eaf5
commit 953c2c8d55

View file

@ -54,10 +54,9 @@ module Vagrant
def run_after_create_script(script)
private_key = Vagrant.source_root.join('keys', 'vagrant').expand_path.to_s
@logger.debug 'Running after-create-script from box metadata'
# TODO: Gotta write somewhere that it has to be indempotent
retryable(:tries => 5, :sleep => 1.5) do
@logger.debug 'Attempt to run after-create-script from box metadata'
execute *[
script,
'-r', "#{CONTAINERS_PATH}/#{@name}/rootfs",