From 2d63603d85bd844d6bb9957e522f6f06f9e26689 Mon Sep 17 00:00:00 2001 From: Hugo Fonseca Date: Mon, 7 Nov 2016 15:34:48 +0000 Subject: [PATCH] Increase the re-tries amount --- lib/vagrant-lxc/action/fetch_ip_with_lxc_attach.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-lxc/action/fetch_ip_with_lxc_attach.rb b/lib/vagrant-lxc/action/fetch_ip_with_lxc_attach.rb index 5b36c18..25baa7b 100644 --- a/lib/vagrant-lxc/action/fetch_ip_with_lxc_attach.rb +++ b/lib/vagrant-lxc/action/fetch_ip_with_lxc_attach.rb @@ -21,7 +21,7 @@ module Vagrant def assigned_ip(env) driver = env[:machine].provider.driver ip = '' - retryable(:on => LXC::Errors::ExecuteError, :tries => 10, :sleep => 3) do + retryable(:on => LXC::Errors::ExecuteError, :tries => 20, :sleep => 3) do unless ip = get_container_ip_from_ip_addr(driver) # retry raise LXC::Errors::ExecuteError, :command => "lxc-attach"