Darryl L. Pierce
2009-Jun-03 18:45 UTC
[Ovirt-devel] [PATCH node] Adds support for a using default storage configuration. bz#503997
When the user selects to configure storage, after they select a drive (or the only storage device is pre-selected), they are shown the default storage configuration layout. They are then asked if they wish to use that default configuration or configure things manually. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- scripts/ovirt-config-storage | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 356b7df..0fcc0bc 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -204,6 +204,13 @@ do_configure() printf "* For the Data partition, a size of -1 indicates that the\n" printf " partition should use up the remaining space on the disk.\n\n" + do_review + read -ep "Use these default values? (Y/n) " + + case $REPLY in + Y|y) return;; + esac + local space_left=$SPACE for part in boot swap root config logging data ; do part_regexp="^0$" -- 1.6.0.6
Alan Pevec
2009-Jun-03 21:32 UTC
[Ovirt-devel] [PATCH node] Adds support for a using default storage configuration. bz#503997
ACK -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090603/8a7ec040/attachment.htm>