Merge pull request #4802 from TsuyoshiUshio/fix/azuredoc

azure: Add missing instruction for Windows Image user
This commit is contained in:
Matthew Hooker 2017-04-19 11:58:06 -07:00 committed by GitHub
commit b42c4a0ce6
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,8 @@ In order to build VMs in Azure Packer needs 6 configuration options to be specif
- `client_secret` - service principal secret / password
- `object_id` - service principal object id (OSType = Windows Only)
- `resource_group_name` - name of the resource group where your VHD(s) will be stored
- `storage_account` - name of the storage account where your VHD(s) will be stored
@ -192,6 +194,12 @@ Get `client_secret`
This cannot be retrieved. If you forgot this, you will have to delete and re-create your service principal and the associated permissions.
Get `object_id` (OSTYpe=Windows only)
```shell
azure ad sp show -n CLIENT_ID
```
Get `resource_group_name`
```shell