Skip to content

Commit 8a0bd80

Browse files
committed
update regex
1 parent 76f4350 commit 8a0bd80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend_modules/libvirt/host/wait_for_ip.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ for ((i=1; i<=RETRIES; i++)); do
3030
AGENT_IP=$(virsh -c "$HYPERVISOR_URI" domifaddr "$DOMAIN" --source agent 2>&1 | \
3131
awk '/ipv4|ipv6/ {print $4}' | \
3232
cut -d/ -f1 | \
33-
grep -Ev '^fe80:|^169\.254\.|^127\.|^::1$' | \
33+
grep -Ev '^fe80:|^169\.254\.|^127\.|^::1$|^10\.89\.|^192\.168\.' | \
3434
head -n1)
3535

3636
if [ -n "$AGENT_IP" ]; then

0 commit comments

Comments
 (0)