This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Ubuntu 24.04 Azure VM/VMSS pipeline agent setup: Azure CLI + Docker Engine. | |
| # Usage (as the agent user): curl -fsSL https://<host>/setup-agent-tools.sh | bash | |
| # Also supports sudo bash; direct root execution uses Azure's AzDevOps account. | |
| # Requires outbound HTTPS and passwordless sudo for non-root execution. | |
| # Repeated runs verify existing tools without upgrading them or restarting Docker. | |
| # Docker group/socket access is root-equivalent on this VM. | |
| # Parse the complete block before starting, including when streamed into Bash. | |
| { |
OlderNewer