From f2591457e1aab0c9ca89f4c99a15938f58461e77 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 2 Mar 2019 23:43:33 +0100 Subject: [PATCH 1/4] let time for lxc container to start --- sub_scripts/lxc_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub_scripts/lxc_check.sh b/sub_scripts/lxc_check.sh index 7714a26..498de53 100755 --- a/sub_scripts/lxc_check.sh +++ b/sub_scripts/lxc_check.sh @@ -406,7 +406,7 @@ lxc_net_check=0 # Passe sur les différents tests while test "$lxc_net" -eq 1 # Boucle tant que la connexion internet du conteneur n'est pas réparée. do REBOOT_CONTENEUR - sleep 3 + sleep 30 sudo lxc-ls -f CHECK_LXC_NET lxc_net=$? From 7f76730a94594ede35bb716a3828765f8d5d322e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Mar 2019 00:05:10 +0100 Subject: [PATCH 2/4] add time for lxc to start --- sub_scripts/launcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub_scripts/launcher.sh b/sub_scripts/launcher.sh index d8f922a..4b9e150 100755 --- a/sub_scripts/launcher.sh +++ b/sub_scripts/launcher.sh @@ -179,7 +179,7 @@ LXC_START () { sleep 1 done echo "" - + sleep 30 local failstart=0 # Check if the container is running if ! is_lxc_running; then From ec73e7689331fbc85522ad95c7f3c239289d75a8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Mar 2019 00:25:37 +0100 Subject: [PATCH 3/4] add time for lxc to start --- sub_scripts/launcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub_scripts/launcher.sh b/sub_scripts/launcher.sh index 4b9e150..1953a66 100755 --- a/sub_scripts/launcher.sh +++ b/sub_scripts/launcher.sh @@ -179,7 +179,7 @@ LXC_START () { sleep 1 done echo "" - sleep 30 + sleep 60 local failstart=0 # Check if the container is running if ! is_lxc_running; then From 732fb597e753705a16ee62758c126b1e79ef995b Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Mar 2019 00:34:06 +0100 Subject: [PATCH 4/4] reduce time needed for lxc to start --- sub_scripts/launcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub_scripts/launcher.sh b/sub_scripts/launcher.sh index 1953a66..4b9e150 100755 --- a/sub_scripts/launcher.sh +++ b/sub_scripts/launcher.sh @@ -179,7 +179,7 @@ LXC_START () { sleep 1 done echo "" - sleep 60 + sleep 30 local failstart=0 # Check if the container is running if ! is_lxc_running; then