-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Team:FleetTeam label for Observability Data Collection Fleet teamTeam label for Observability Data Collection Fleet team
Description
When trying to enroll a new agent, the third step shown in the screenshot below actually includes two separate parts: enroll the agent and start the agent.

With the current "Copy command" button, both commands are copied at the same time. But these two commands are not able to run together because enroll has the prompt about overwriting old setting: This will replace your current settings. Do you want to continue? [Y/n]:.
Several potential solutions I can see:
- use
--forceto bypass the [Y/n] when enrolling the agent as @jfsiii mentioned in slack. - separate enroll and run agent into two steps
- keep them in one step but make two "Copy command" button.
bmorelli25
Metadata
Metadata
Assignees
Labels
Team:FleetTeam label for Observability Data Collection Fleet teamTeam label for Observability Data Collection Fleet team