Displaying 3 results from an estimated 3 matches for "e938256".
Did you mean:
38256
2009 Jun 04
1
[PATCH node] Hostname is now properly persisted between reboots. rhbz#504166
...rc=$?
+ if [ $rc -eq 0 ]; then /usr/sbin/persist $HOSTNAME_FILE; fi
fi
stop_log
return $rc
@@ -82,4 +90,3 @@ else
printf "\n\n Hostname Configuration\n\n"
prompt_user
fi
-
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index 5997a4c..e938256 100755
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -78,6 +78,16 @@ is_standalone() {
if is_managed; then return 1; else return 0; fi
}
+# return 0 if local storage is configured
+# return 1 if local storage is not configured
+is_local_storage_configured () {
+ if lvs H...
2009 Jun 08
1
Follow-on patch
This is a follow-up patch to the previous one already pushed for
#503993.
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...ot;$REPLY" == "y" ]; then
+if ask_yes_or_no "Do you wish to continue and uninstall this node (y/n)?"
if [ -d /dev/HostVG ]; then
log "Uninstalling node"
log "Detaching logging"
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index e938256..09ddf50 100755
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -627,6 +627,24 @@ chkconfig_persist() {
ovirt_store_config $to_persist
}
+# Asks a yes or no question. Accepts Y/N/A so users can abort.
+# RC=0 - Y/y entered
+# RC=1 - N/n entered
+# RC=2 - A/a entered
+ask_yes_...