Displaying 1 result from an estimated 1 matches for "866f963".
Did you mean:
861963
2010 Mar 04
1
[PATCH node] fix network_up
previous check reported ok even when DHCP failed
---
scripts/ovirt-functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index 1db89ae..866f963 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -734,7 +734,7 @@ is_valid_ipv4 () {
# Check if networking is already up
network_up () {
- test -n "$(/sbin/ip -o link show up | cut -d: -f2 | grep -v 'lo$')"
+ ip addr show | grep -q "inet.*scope...