From 953c2c8d558c8890891e29a32898fe56ce19e96a Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Mon, 4 Mar 2013 01:18:04 -0300 Subject: [PATCH] debugging++ --- lib/vagrant-lxc/container.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/vagrant-lxc/container.rb b/lib/vagrant-lxc/container.rb index 9ebff52..f5e64a5 100644 --- a/lib/vagrant-lxc/container.rb +++ b/lib/vagrant-lxc/container.rb @@ -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",