Create Azure resource group
Create Azure resource group
$ az group create -n myResourceGroup -l eastus
Create Azure credentials
$ az ad sp create-for-rbac --role Contributor --scopes /subscriptions/<subscription_id> --query "{ client_id: appId, client_secret: password, tenant_id: tenant }"
$ az account show --query "{ subscription_id: id }"
Build Packer image
$ packer init
$ packer build ubuntu.pkr.hcl
Latest posts by Rajesh Kumar (see all)
- What is Mobile Virtual Network Operator? - April 18, 2024
- What is Solr? - April 17, 2024
- Difference between UBUNTU and UBUNTU PRO - April 17, 2024