KASM-6235 Update egress waiting logic to account for the sysbox workaround

This commit is contained in:
Mariusz Marciniak 2024-07-20 22:40:15 +00:00 committed by Justin Travis
parent 634c8429e2
commit 713f11ffe2

View File

@ -450,8 +450,9 @@ function wait_for_network_devices() {
fi fi
for interface in $interfaces; do for interface in $interfaces; do
if [[ $interface == eth* ]]; then # ignore eth* interfaces if egress gateway is enabled
return if [[ $interface == eth* && -z $KASM_SVC_EGRESS ]]; then
return
fi fi
if [[ $interface == k-p-* ]]; then if [[ $interface == k-p-* ]]; then