maniacs-setup suggests "Y" as a default answer but only honors "N" as a default when the user simply hits return

Bug #1945502 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-cert-server
New
Undecided
Unassigned

Bug Description

* Do you want to set PPAs for amd64 architecture (Y/n)?
Please enter 'Y' or 'N'!
* Do you want to set PPAs for amd64 architecture (Y/n)?

Typically in shell interactions, capitalized letter choices are the default used if you choose nothing. So in the above case, the expected result is that simply hitting return would automatically use Y.

For at least these questions, however (I didn't test this on every question during maniacs-setup), hitting return simply results in my being asked again. I have to manually type y<return> to proceed.

Revision history for this message
Jeff Lane  (bladernr) wrote :

I should add, that further into this segment, N as a default is respected:

* Do you want to set PPAs for amd64 architecture (Y/n)?
Please enter 'Y' or 'N'!
* Do you want to set PPAs for amd64 architecture (Y/n)? y
* Do you want to set PPAs for i386 architecture (y/N)?
* Do you want to set PPAs for arm64 architecture (y/N)?
* Do you want to set PPAs for armhf architecture (y/N)?
* Do you want to set PPAs for ppc64el architecture (y/N)?
* Do you want to set PPAs for s390x architecture (y/N)?
*
* Adding PPAs for the following architectures: amd64

So the issue seems to be only when Y is the default.

description: updated
summary: - maniacs-setup suggests "default" answers to questions, yet simply
- hitting return does not use those defaults
+ maniacs-setup suggests "Y" as a default answer but only honors "N" as a
+ default when the user simply hits return
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.