From 78342396a611b19d3fd1ba99d6f78121a329b4d3 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Wed, 19 Jul 2023 18:06:07 +0200 Subject: [PATCH] =?utf8?q?Poprawienie=20pauzy=20-=20tworzenie=20kontener?= =?utf8?q?=C3=B3w,=20funkcja=20'idle-fetch-containers',=20script=20'idle.s?= =?utf8?q?h'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- idle.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/idle.sh b/idle.sh index a46e0a6..415aebf 100644 --- a/idle.sh +++ b/idle.sh @@ -71,6 +71,7 @@ function idle-fetch-containers() { sec=1; while [ $sec -le 5 ]; do echo "Waiting $((5 - (sec - 1))) sec to get container full up"; + sleep 1; sec=$((sec + 1)); done /usr/bin/lxc file push ${HOME}/idle/$startupScript ${containerName}/root/${startupScript} -- 2.39.5