Skip to content

[Elastic Agent] Remove prompt on first enrollment #20068

@mostlyjason

Description

@mostlyjason

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions