From eb0284154693c8a077b4a016a0d5f8e8eae523e7 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 20 Feb 2020 20:02:50 +0100 Subject: [PATCH] Build sometimes failing because things go too fast and the network stack isnt started yet, so adding a small delay as a quick and dirty fix --- ynh-dev | 1 + 1 file changed, 1 insertion(+) diff --git a/ynh-dev b/ynh-dev index 3c853c6..785988b 100755 --- a/ynh-dev +++ b/ynh-dev @@ -200,6 +200,7 @@ function rebuild_ynhdev() sudo lxc config set $BOX-rebuild security.nesting true # Need this for buster because it is using apparmor fi sudo lxc restart $BOX-rebuild + sleep 5 sudo lxc exec $BOX-rebuild -- apt install curl -y if [[ "$DIST" == "buster" ]] then