[Ovirt-devel] [PATCH ovirt-node] fix problme where bond* interfaces are shown in ovirt-config-networking menu
David Huff
dhuff at redhat.com
Thu Feb 26 18:13:13 UTC 2009
---
scripts/ovirt-config-networking | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking
index d296f44..bf6787b 100755
--- a/scripts/ovirt-config-networking
+++ b/scripts/ovirt-config-networking
@@ -240,7 +240,7 @@ function setup_menu
fi
# Add virtio NICs that were possibly not detected by hal
- NICS="$NICS $(ifconfig -a | awk '/Ethernet/ {print $1}' | grep -v "^br" | xargs)"
+ NICS="$NICS $(ifconfig -a | awk '/Ethernet/ {print $1}' | grep -v -E "(^br|^bond)" | xargs)"
NICS=$(echo $NICS | tr ' ' '\n' | sort -u | xargs)
PS3="Please select an interface or configuration option: "
--
1.6.0.6
More information about the ovirt-devel
mailing list