Displaying 2 results from an estimated 2 matches for "41177a4".
Did you mean:
11774
2009 Jun 25
1
[PATCH node] Fixes when a removable media is removed. bz#507455
...attempting to get the storage size
for the device.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-storage | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage
index 0fcc0bc..41177a4 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -62,7 +62,10 @@ get_drive_size()
size=$(hal-get-property --udi "$udi" --key storage.size)
if [[ "${size}" == "0" ]]; then
# disk is probably hot-swappable, us...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...return ;;
+ ask_yes_or_no "Is this correct (y/n/a)?"
+ case $? in
+ 0) break ;;
+ 1) ;;
+ 2) return ;;
esac
done
fi
diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage
index 41177a4..2e523df 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -208,11 +208,9 @@ do_configure()
printf " partition should use up the remaining space on the disk.\n\n"
do_review
- read -ep "Use these default values? (Y/n) "
-
- case $R...