Displaying 1 result from an estimated 1 matches for "781553c".
Did you mean:
715533
2009 Nov 11
1
[PATCH] Static IPv4 addresses entered are validated when they're entered.
...ould be optimized
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-networking | 28 +++++++++++++++++++++++++---
1 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking
index 7d4e363..781553c 100755
--- a/scripts/ovirt-config-networking
+++ b/scripts/ovirt-config-networking
@@ -30,6 +30,28 @@ if ! is_local_storage_configured; then
exit 99
fi
+# $1 - the variable name to set
+# $2 - the input prompt
+function input_ipv4_address {
+ local varname=$1
+ local prompt=$2
+
+...