Add helper script wait_network

This commit is contained in:
Benoit 2024-10-24 18:20:15 +09:00
parent 537481a849
commit e8cd68c722
Signed by: Benoit
SSH key fingerprint: SHA256:kFsX94Kq6z/6CY0dX+7/FpAeJC0QlMhJVY+B7NYrOmA
4 changed files with 9 additions and 6 deletions

View file

@ -17,8 +17,7 @@ ALIAS="$UPSTREAM_NAME-$UPSTREAM_VER-$SERIAL"
cd $WORKSPACE
incus launch images:$IMAGE $CNAME --quiet
# Wait network
sleep 5
wait_network $CNAME
# Navidrome
incus exec $CNAME -- mkdir /etc/esh