diff options
author | James Davidson <james.davidson@vyatta.com> | 2012-05-10 13:31:23 -0700 |
---|---|---|
committer | James Davidson <james.davidson@vyatta.com> | 2012-05-16 10:47:10 -0700 |
commit | ee00d454e791522383d06f2604252506433093ed (patch) | |
tree | 5d4dbdf80347aec56ced0fa8d3a3cf31e6a4e73a | |
parent | 666e8425a952899196801a5c3fce8931539a3434 (diff) | |
download | vyatta-cfg-system-ee00d454e791522383d06f2604252506433093ed.tar.gz vyatta-cfg-system-ee00d454e791522383d06f2604252506433093ed.zip |
Change default to No when not enough space to save config
During an image add, the default used to be to not save the current
configuration and continue with adding the image. Now the default is
to not continue.
Fixes bug 7964.
-rwxr-xr-x | scripts/install/install-image-existing | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing index ea5455ea..54881043 100755 --- a/scripts/install/install-image-existing +++ b/scripts/install/install-image-existing @@ -207,8 +207,8 @@ if [ $space_avail -gt $space_needed_configdata ]; then done else echo 'There is not enough space to save the current configuration directory.' - echo -n 'Would you like to continue without saving it? (Yes/No) [Yes]: ' - resp=$(get_response "Yes" "Yes No Y N") + echo -n 'Would you like to continue without saving it? (Yes/No) [No]: ' + resp=$(get_response "No" "Yes No Y N") if [ "$resp" == 'yes' ] || [ "$resp" == 'y' ]; then echo "OK. Proceeding without saving current config directory." else |