Advertisement
1RedOne

StephenArc

Mar 5th, 2022
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. # Download the installation package
  2. wget https://aka.ms/azcmagent -O ~/install_linux_azcmagent.sh
  3.  
  4. # Install the hybrid agent
  5. bash ~/install_linux_azcmagent.sh
  6.  
  7. # Run connect command
  8. azcmagent connect --resource-group "amvm-sro-new" --tenant-id "72f988bf-86f1-41af-91ab-2d7cd011db47" --location "eastus" --subscription-id "cdd53a71-7d81-493d-bce6-224fec7223a9" --cloud "AzureCloud" --tags "hsaTar=yes" --correlation-id "f104067a-210a-403a-a729-0a12381d3002"
  9.  
  10. if [ $? = 0 ]; then echo -e "\033[33mTo view your onboarded server(s), navigate to https://ms.portal.azure.com/#blade/HubsExtension/BrowseResource/resourceType/Microsoft.HybridCompute%2Fmachines\033[m"; fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement