Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

stop install if user declines #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

twobitfool
Copy link

On the final prompt during configuration, if the user hits [enter] -- not realizing that the default answer [n] will cancel the install -- they will get this message:

The system will now finish configuration and reboot. Please wait...

... followed by some nasty errors, like this:

mv: cannot rename /tmp_config to /usbkey/config: No such file or directory /smartdc/bin/smartos_pompt_config.sh: line 673: /usb/key/shadow: No such file or directory

... then the server reboots and the configuration starts over again -- which makes it look like the install tried, but failed.

It happened to me, and I can't be the only idiot...right?

If the user hits [enter] -- not realizing that the default answer [n] will cancel the install -- they will get some nasty errors and may think that the install just failed.
@Freak4915
Copy link

As a side note, do you want to know what the most painful thing about this is....I have for the past hour been stumped by why my installation of SmartOS wouldn't complete with the exact error as stated. It doesn't except "Y" as a correct answer either. Only "y" even though it's a "Y" in the first yes/no question.

I guess my point is that it would be nice to have the "Y" and "y" options standardize as some parts of the OS will only except one or the other without letting you know which to use. Or simply make it idiot proof and have both options as standard,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants