Advertisement
1RedOne

ArcBuntu2

Jan 31st, 2022
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 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 "eastus2" --subscription-id "cdd53a71-7d81-493d-bce6-224fec7223a9" --cloud "AzureCloud" --correlation-id "42c59269-891a-4daa-a7b2-ad1b9aea5001"
  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
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement