github.com/rahart/packer@v0.12.2-0.20161229105310-282bb6ad370f/examples/azure/windows.json (about) 1 { 2 "variables": { 3 "client_id": "{{env `ARM_CLIENT_ID`}}", 4 "client_secret": "{{env `ARM_CLIENT_SECRET`}}", 5 "resource_group": "{{env `ARM_RESOURCE_GROUP`}}", 6 "storage_account": "{{env `ARM_STORAGE_ACCOUNT`}}", 7 "subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}", 8 "object_id": "{{env `ARM_OBJECT_ID`}}" 9 }, 10 "builders": [{ 11 "type": "azure-arm", 12 13 "client_id": "{{user `client_id`}}", 14 "client_secret": "{{user `client_secret`}}", 15 "resource_group_name": "{{user `resource_group`}}", 16 "storage_account": "{{user `storage_account`}}", 17 "subscription_id": "{{user `subscription_id`}}", 18 "object_id": "{{user `object_id`}}", 19 20 21 "capture_container_name": "images", 22 "capture_name_prefix": "packer", 23 24 "os_type": "Windows", 25 "image_publisher": "MicrosoftWindowsServer", 26 "image_offer": "WindowsServer", 27 "image_sku": "2012-R2-Datacenter", 28 29 "communicator": "winrm", 30 "winrm_use_ssl": "true", 31 "winrm_insecure": "true", 32 "winrm_timeout": "3m", 33 "winrm_username": "packer", 34 35 "location": "West US", 36 "vm_size": "Standard_A2" 37 } 38 ], 39 "provisioners": [ 40 { 41 "type": "powershell", 42 "inline": [ 43 "dir c:\\" 44 ] 45 } 46 ] 47 } 48