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
## Create required Azure resources and generate an image
4
+
5
+
1. Generating required Azure resources and running a packer build for a targeted image is automated [here](../helpers/GenerateResourcesAndImage.ps1).
6
+
7
+
## Create a VM based on the template created by Packer
8
+
9
+
1. At the end of the output from running Packer above is a URL to the VM resource template with a read access token. It ends with `.json` plus a query string. Note this URL. For now, it seems like there is an [Az CLI bug](https://github.com/Azure/azure-cli/issues/5899) with specifying the template through a URI. So download the template locally and note the path of the teamplte file.
10
+
1. Generating the required Azure resources and creating the VM is automated [here](../helpers/CreateAzureVMFromPackerTeamplte.ps1).
11
+
1. After the VM is created, remote into it using its public IP address. You can test the installed tools or install the VSTS agent and connect it to your VSTS account.
0 commit comments