You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pipelines/agents/includes/v2/unattended-config.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ For example, `VSTS_AGENT_INPUT_PASSWORD` instead of specifying `--password`.
35
35
### Pool and agent names
36
36
-`--pool <pool>` - pool name for the agent to join
37
37
-`--agent <agent>` - agent name
38
-
-`--replace` - replacethe agent in a pool. If another agent is listening by the same name, it will start failing with a conflict
38
+
-`--replace` - Specify `--replace` if you are replacing the current agent installation with an agent with the same name. If your intention is to replace an agent with the same name that's hosted elsewhere, unconfigure the other agent first before configuring this one (and you don't need to specify `--replace`); otherwise if you have two agent instances with the same name, you'll get conflicts, and after a few moments of conflicts, one of the agents will shut down.
39
39
40
40
### Agent setup
41
41
-`--work <workDirectory>` - work directory where job data is stored. Defaults to `_work` under the
0 commit comments