Skip to content

Commit

Permalink
add back ubuntu.json so we won't break CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Sep 19, 2023
1 parent 97a5dbb commit f86a2f7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions quickstart/201-vmss-packer-jumpbox/ubuntu.json
Original file line number Diff line number Diff line change
@@ -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"
}]
}

0 comments on commit f86a2f7

Please sign in to comment.