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

This commit is contained in:
Alexandre Aubin 2020-02-20 20:02:50 +01:00
parent 33d984b6f6
commit eb02841546

View file

@ -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