Displaying 1 result from an estimated 1 matches for "7abfb3b".
2009 Jun 03
1
[PATCH node] Checks if storage is setup before setting the admin password. BZ#509339
...onfigured and exits the script with a warning message.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-password | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/scripts/ovirt-config-password b/scripts/ovirt-config-password
index 7abfb3b..45b5d8c 100755
--- a/scripts/ovirt-config-password
+++ b/scripts/ovirt-config-password
@@ -8,6 +8,13 @@
trap '__st=$?; stop_log; exit $__st' 0
trap 'exit $?' 1 2 13 15
+warn() { printf '%s\n' "$*" >&2; }
+
+if [[ ! "Config" =~ $(lvdisplay -C |...