diff --git a/run/network.sh b/run/network.sh index aa11881..e0ffaae 100644 --- a/run/network.sh +++ b/run/network.sh @@ -31,7 +31,10 @@ configureDHCP() { error "and that the NET_ADMIN capability has been added to the container config: --cap-add NET_ADMIN" && exit 16 fi - ip link set "${VM_NET_TAP}" up + while ! ip link set "${VM_NET_TAP}" up; do + info "Waiting for address to become available..." + sleep 2 + done TAP_NR=$(