diff --git a/quickstart/201-vmss-packer-jumpbox/ubuntu.json b/quickstart/201-vmss-packer-jumpbox/ubuntu.json new file mode 100644 index 000000000..0513f4df0 --- /dev/null +++ b/quickstart/201-vmss-packer-jumpbox/ubuntu.json @@ -0,0 +1,38 @@ +{ + "builders": [{ + "type": "azure-arm", + + "client_id": "0bfc2293-4d69-49b5-83f7-bf0d60d20c45", + "client_secret": "G3.6ytCh44Kcla~_JRPBDLkzsXLOa3edDL", + "tenant_id": "c3fd441d-b8ad-487e-aa27-453079018fca", + "subscription_id": "b162117f-53fa-4f42-8c77-6a65ca966c40", + + "managed_image_resource_group_name": "myPackerImages", + "managed_image_name": "myPackerImage", + + "os_type": "Linux", + "image_publisher": "Canonical", + "image_offer": "UbuntuServer", + "image_sku": "16.04-LTS", + + "azure_tags": { + "dept": "Engineering", + "task": "Image deployment" + }, + + "location": "East US", + "vm_size": "Standard_DS2_v2" + }], + "provisioners": [{ + "execute_command": "chmod +x {{ .Path }}; {{ .Vars }} sudo -E sh '{{ .Path }}'", + "inline": [ + "apt-get update", + "apt-get upgrade -y", + "apt-get -y install nginx", + + "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" + ], + "inline_shebang": "/bin/sh -x", + "type": "shell" + }] +} \ No newline at end of file