Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Knife bootstrap password prompt can't be exited from #10080

Closed
tas50 opened this issue Jun 29, 2020 · 2 comments · Fixed by #10131
Closed

Knife bootstrap password prompt can't be exited from #10080

tas50 opened this issue Jun 29, 2020 · 2 comments · Fixed by #10131
Assignees

Comments

@tas50
Copy link
Contributor

tas50 commented Jun 29, 2020

It appears we're rescuing too agressively here somewhere. If you bootstrap a node you cant ctl-c out of the boostrap password prompt:

WARNING: Failed to authenticate  to ec2-54-187-152-162.us-west-2.compute.amazonaws.com - trying password auth
Enter password for @ec2-54-187-152-162.us-west-2.compute.amazonaws.com:
@tas50 tas50 added the Status: Untriaged An issue that has yet to be triaged. label Jun 29, 2020
@lamont-granquist lamont-granquist added Priority: Low Status: Sustaining Backlog and removed Status: Untriaged An issue that has yet to be triaged. labels Jul 2, 2020
@kvivek1115 kvivek1115 self-assigned this Jul 3, 2020
@kvivek1115
Copy link
Contributor

kvivek1115 commented Jul 7, 2020

It's due to highline gem known issue JEG2/highline/issues/236, an alternative to this we can use
IO.html#method-i-getpass

@tas50
Copy link
Contributor Author

tas50 commented Jul 7, 2020

I'd love to get off highline. We've pretty universally adopted the gems in the TTY project, which are actively maintained and have nice interfaces: https://ttytoolkit.org/

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

Successfully merging a pull request may close this issue.

3 participants