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

[Elastic Agent] Remove prompt on first enrollment #20068

Closed
mostlyjason opened this issue Jul 20, 2020 · 1 comment · Fixed by #21473
Closed

[Elastic Agent] Remove prompt on first enrollment #20068

mostlyjason opened this issue Jul 20, 2020 · 1 comment · Fixed by #21473
Assignees
Labels
bug Ingest Management:beta2 Group issues for ingest management beta2

Comments

@mostlyjason
Copy link

Currently when you install Elastic Agent for the first time and then issue the enroll command it prompts the user "This will replace your current settings. Do you want to continue? [Y/n]" However, there are no current settings so it should not show this prompt. It should only be shown when overwriting existing settings. Additionally, let's confirm it can be disabled with the -f flag which will default to overwriting the settings.

@mostlyjason mostlyjason added bug Team:Ingest Management Ingest Management:beta2 Group issues for ingest management beta2 labels Jul 20, 2020
@mostlyjason
Copy link
Author

mostlyjason commented Jul 20, 2020

Just tested the -f flag and it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Ingest Management:beta2 Group issues for ingest management beta2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants