Forgejo: Update wait network logic
This commit is contained in:
parent
ee2cd89581
commit
b4e481e44d
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ ALIAS="$UPSTREAM_NAME-$UPSTREAM_VER-$SERIAL"
|
|||
cd $WORKSPACE
|
||||
incus launch images:$IMAGE $CNAME --quiet
|
||||
|
||||
# Wait network
|
||||
sleep 5
|
||||
# Wait for network
|
||||
timeout 30 bash -c "until incus exec $CNAME -- ping -c1 google.com &>/dev/null; do sleep 1; done"
|
||||
|
||||
# Forgejo
|
||||
incus exec $CNAME -- mkdir /etc/esh
|
||||
|
|
Loading…
Add table
Reference in a new issue