generator_files/packer/automate.json in wombat-cli-0.4.3 vs generator_files/packer/automate.json in wombat-cli-0.5.0
- old
+ new
@@ -10,10 +10,14 @@
"azure_subscription_id": "{{env `AZURE_SUBSCRIPTION_ID`}}",
"azure_storage_account": "{{env `AZURE_STORAGE_ACCOUNT`}}",
"azure_resource_group": "{{env `AZURE_RESOURCE_GROUP`}}",
"azure_object_id": "{{env `AZURE_OBJECT_ID`}}",
"azure_location": "",
+ "azure_image_publisher": "Canonical",
+ "azure_image_offer": "UbuntuServer",
+ "azure_image_sku": "14.04.5-LTS",
+ "azure_image_version": "latest",
"gce_account_file": "{{env `GCE_ACCOUNT_FILE`}}",
"gce_project_id": "{{env `GCE_PROJECT_ID`}}",
"gce_zone": "{{env `GCE_ZONE`}}",
"gce_source_image": "ubuntu-1404-trusty-v20160809a",
"build-nodes": "1",
@@ -54,12 +58,13 @@
"storage_account": "{{user `azure_storage_account`}}",
"object_id": "{{user `azure_object_id`}}",
"capture_container_name": "images",
"capture_name_prefix": "automate",
"os_type": "Linux",
- "image_publisher": "Canonical",
- "image_offer": "UbuntuServer",
- "image_sku": "14.04.5-LTS",
+ "image_publisher": "{{ user `azure_image_publisher` }}",
+ "image_offer": "{{ user `azure_image_offer` }}",
+ "image_sku": "{{ user `azure_image_sku` }}",
+ "image_version": "{{ user `azure_image_version` }}",
"location": "{{user `azure_location`}}",
"vm_size": "Standard_DS3_v2",
"ssh_username": "{{user `ssh_username`}}",
"ssh_pty": true
},
\ No newline at end of file