We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e35e11 commit b08c2ceCopy full SHA for b08c2ce
deploy-agents.sh
@@ -1,5 +1,5 @@
1
-
2
#!/bin/bash
+
3
# Multi-agent deployment script
4
# Rule: 2 vCPUs per agent
5
# Automatically detects available CPUs
entrypoint.sh
@@ -139,7 +139,7 @@ echo "Adding capabilities..."
139
140
echo "Configuration complete. Starting agent..."
141
142
-# Start the agent
+# Start the agent with sg to apply dockerhost group and security context
143
echo "Starting agent ${AZP_AGENT_NAME}-${AGENT_NUMBER}-${INSTANCE_ID}..."
144
cd "$INSTALL_FOLDER/$AGENT_NUMBER"
145
sg dockerhost -c "./run.sh" &
0 commit comments