[Ovirt-devel] [PATCH node] Add VLAN support to network configuration. rhbz#510116
Darryl L. Pierce
dpierce at redhat.com
Wed Jul 8 14:32:00 UTC 2009
While configuring the management interface, the user can indicate
whether the device will participate in a VLAN. If so, an additional
property, VLAN yes, is added to the initscript for the interface.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-networking | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking
index 81f017c..585a76d 100755
--- a/scripts/ovirt-config-networking
+++ b/scripts/ovirt-config-networking
@@ -108,6 +108,15 @@ function configure_interface
A|a) CONFIGURED_NIC=""; return ;;
esac
+ while true; do
+ read -ep "Include VLAN support (y/n/a)? "
+ case $REPLY in
+ Y|y) BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/VLAN yes"; break;;
+ N|n) break;;
+ A|a) CONFIGURED_NIC=""; return;;
+ esac
+ done
+
printf "\n"
read -ep "Enable IPv6 support ([S]tatic, [D]HCPv6, A[u]to, [N]o or [A]bort)? "
case $REPLY in
--
1.6.2.5
More information about the ovirt-devel
mailing list