Skip to content

Instantly share code, notes, and snippets.

@hantuzun
Last active October 3, 2017 12:26
Show Gist options
  • Save hantuzun/1fbbbe3beb9974fc44d2f0da031d4f64 to your computer and use it in GitHub Desktop.
Save hantuzun/1fbbbe3beb9974fc44d2f0da031d4f64 to your computer and use it in GitHub Desktop.
$ PACKER_LOG=1 packer build \
-var 'client_id=xxx' \
-var 'client_secret=xxx' \
-var 'subscription_id=xxx' \
-var 'location=North Europe' \
-var 'managed_image_resource_group_name=playground3' \
-var 'managed_image_name=ExampleImage1' \
ubuntu_managed_image.json
2017/10/03 13:46:49 [INFO] Packer version: 1.1.0
2017/10/03 13:46:49 Packer Target OS/Arch: darwin amd64
2017/10/03 13:46:49 Built with Go Version: go1.9
2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 Using internal plugin for amazon-chroot
2017/10/03 13:46:49 Using internal plugin for amazon-ebs
2017/10/03 13:46:49 Using internal plugin for parallels-pvm
2017/10/03 13:46:49 Using internal plugin for azure-arm
2017/10/03 13:46:49 Using internal plugin for hyperv-iso
2017/10/03 13:46:49 Using internal plugin for openstack
2017/10/03 13:46:49 Using internal plugin for virtualbox-ovf
2017/10/03 13:46:49 Using internal plugin for amazon-ebssurrogate
2017/10/03 13:46:49 Using internal plugin for amazon-ebsvolume
2017/10/03 13:46:49 Using internal plugin for lxc
2017/10/03 13:46:49 Using internal plugin for oracle-oci
2017/10/03 13:46:49 Using internal plugin for amazon-instance
2017/10/03 13:46:49 Using internal plugin for oneandone
2017/10/03 13:46:49 Using internal plugin for parallels-iso
2017/10/03 13:46:49 Using internal plugin for profitbricks
2017/10/03 13:46:49 Using internal plugin for digitalocean
2017/10/03 13:46:49 Using internal plugin for qemu
2017/10/03 13:46:49 Using internal plugin for vmware-vmx
2017/10/03 13:46:49 Using internal plugin for alicloud-ecs
2017/10/03 13:46:49 Using internal plugin for cloudstack
2017/10/03 13:46:49 Using internal plugin for docker
2017/10/03 13:46:49 Using internal plugin for file
2017/10/03 13:46:49 Using internal plugin for googlecompute
2017/10/03 13:46:49 Using internal plugin for lxd
2017/10/03 13:46:49 Using internal plugin for triton
2017/10/03 13:46:49 Using internal plugin for virtualbox-iso
2017/10/03 13:46:49 Using internal plugin for vmware-iso
2017/10/03 13:46:49 Using internal plugin for null
2017/10/03 13:46:49 Using internal plugin for powershell
2017/10/03 13:46:49 Using internal plugin for file
2017/10/03 13:46:49 Using internal plugin for shell
2017/10/03 13:46:49 Using internal plugin for ansible-local
2017/10/03 13:46:49 Using internal plugin for converge
2017/10/03 13:46:49 Using internal plugin for puppet-masterless
2017/10/03 13:46:49 Using internal plugin for windows-restart
2017/10/03 13:46:49 Using internal plugin for ansible
2017/10/03 13:46:49 Using internal plugin for chef-solo
2017/10/03 13:46:49 Using internal plugin for puppet-server
2017/10/03 13:46:49 Using internal plugin for salt-masterless
2017/10/03 13:46:49 Using internal plugin for shell-local
2017/10/03 13:46:49 Using internal plugin for windows-shell
2017/10/03 13:46:49 Using internal plugin for chef-client
2017/10/03 13:46:49 Using internal plugin for artifice
2017/10/03 13:46:49 Using internal plugin for atlas
2017/10/03 13:46:49 Using internal plugin for manifest
2017/10/03 13:46:49 Using internal plugin for vagrant
2017/10/03 13:46:49 Using internal plugin for vagrant-cloud
2017/10/03 13:46:49 Using internal plugin for alicloud-import
2017/10/03 13:46:49 Using internal plugin for docker-save
2017/10/03 13:46:49 Using internal plugin for vsphere
2017/10/03 13:46:49 Using internal plugin for docker-import
2017/10/03 13:46:49 Using internal plugin for compress
2017/10/03 13:46:49 Using internal plugin for docker-tag
2017/10/03 13:46:49 Using internal plugin for shell-local
2017/10/03 13:46:49 Using internal plugin for amazon-import
2017/10/03 13:46:49 Using internal plugin for docker-push
2017/10/03 13:46:49 Using internal plugin for googlecompute-export
2017/10/03 13:46:49 Using internal plugin for vsphere-template
2017/10/03 13:46:49 Using internal plugin for checksum
2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 Attempting to open config file: /Users/username/.packerconfig
2017/10/03 13:46:49 [WARN] Config file doesn't exist: /Users/username/.packerconfig
2017/10/03 13:46:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null] PostProcessors:map[artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag] Provisioners:map[chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local]}
2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 Setting cache directory: /Users/username/Desktop/images/packer_cache
2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 Loading builder: azure-arm
2017/10/03 13:46:49 Plugin could not be found. Checking same directory as executable.
2017/10/03 13:46:49 Current exe path: /usr/local/bin/packer
2017/10/03 13:46:49 Creating plugin client for path: /usr/local/bin/packer
2017/10/03 13:46:49 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-azure-arm"}
2017/10/03 13:46:49 Waiting for RPC address for: /usr/local/bin/packer
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 [INFO] Packer version: 1.1.0
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Packer Target OS/Arch: darwin amd64
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Built with Go Version: go1.9
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Attempting to open config file: /Users/username/.packerconfig
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 [WARN] Config file doesn't exist: /Users/username/.packerconfig
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Setting cache directory: /Users/username/Desktop/images/packer_cache
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 args: []string{"packer-builder-azure-arm"}
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Plugin minimum port: 10000
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Plugin maximum port: 25000
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Plugin address: unix /var/folders/6g/84rkjyjx70n3qbjnfyhkfzt40000gn/T/packer-plugin821722007
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Waiting for connection...
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Serving a plugin connection...
2017/10/03 13:46:49 Loading provisioner: shell
2017/10/03 13:46:49 Plugin could not be found. Checking same directory as executable.
2017/10/03 13:46:49 Current exe path: /usr/local/bin/packer
2017/10/03 13:46:49 Creating plugin client for path: /usr/local/bin/packer
2017/10/03 13:46:49 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2017/10/03 13:46:49 Waiting for RPC address for: /usr/local/bin/packer
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 [INFO] Packer version: 1.1.0
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Packer Target OS/Arch: darwin amd64
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Built with Go Version: go1.9
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Attempting to open config file: /Users/username/.packerconfig
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 [WARN] Config file doesn't exist: /Users/username/.packerconfig
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Setting cache directory: /Users/username/Desktop/images/packer_cache
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Detected home directory from env var: /Users/username
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 args: []string{"packer-provisioner-shell"}
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Plugin minimum port: 10000
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Plugin maximum port: 25000
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Plugin address: unix /var/folders/6g/84rkjyjx70n3qbjnfyhkfzt40000gn/T/packer-plugin019352000
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Waiting for connection...
2017/10/03 13:46:49 packer: 2017/10/03 13:46:49 Serving a plugin connection...
2017/10/03 13:46:49 ui: azure-arm output will be in this color.
2017/10/03 13:46:49 ui:
2017/10/03 13:46:49 Build debug mode: false
2017/10/03 13:46:49 Force build: false
2017/10/03 13:46:49 On error:
2017/10/03 13:46:49 Preparing build: azure-arm
azure-arm output will be in this color.
2017/10/03 13:46:50 Waiting on builds to complete...
2017/10/03 13:46:50 Starting build run: azure-arm
2017/10/03 13:46:50 Running builder: azure-arm
2017/10/03 13:46:50 [INFO] (telemetry) Starting builder azure-arm
2017/10/03 13:46:50 ui: ==> azure-arm: Running builder ...
==> azure-arm: Running builder ...
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 :: Configuration
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ClientID=xxx
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ClientSecret=xxx
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ObjectID=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 TenantID=xxx
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 SubscriptionID=xxx
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 CaptureNamePrefix=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 CaptureContainerName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ImagePublisher=Canonical
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ImageOffer=UbuntuServer
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ImageSku=16.04-LTS
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ImageVersion=latest
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ImageUrl=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 CustomManagedImageResourceGroupName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 CustomManagedImageName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 Location=North Europe
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 VMSize=Standard_DS2_v2
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ManagedImageResourceGroupName=playground3
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ManagedImageName=ExampleImage1
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ManagedImageStorageAccountType=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 ResourceGroupName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 StorageAccount=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 TempComputeName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 TempResourceGroupName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 CloudEnvironmentName=Public
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 VirtualNetworkName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 VirtualNetworkSubnetName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 VirtualNetworkResourceGroupName=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 CustomDataFile=
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 OSType=Linux
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 UserName=packer
2017/10/03 13:46:51 packer: 2017/10/03 13:46:51 Password=xxx
2017/10/03 13:46:51 ui: azure-arm: Creating Azure Resource Manager (ARM) client ...
azure-arm: Creating Azure Resource Manager (ARM) client ...
2017/10/03 13:46:53 packer: 2017/10/03 13:46:53 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/resourcegroups/playground3?api-version=2016-09-01" body=""
2017/10/03 13:46:53 packer: 2017/10/03 13:46:53 Azure response request="https://management.azure.com/subscriptions/xxx/resourcegroups/playground3?api-version=2016-09-01" x-ms-request-id="6cbf87de-48fa-4228-9af1-919a9b0b89e6" body="{\"id\":\"/subscriptions/xxx/resourceGroups/playground3\",\"name\":\"playground3\",\"location\":\"northeurope\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" status="200 OK" method="GET"
2017/10/03 13:46:53 packer: 2017/10/03 13:46:53 Azure response method="GET" request="https://management.azure.com/subscriptions/xxx/resourcegroups/playground3?api-version=2016-09-01" x-ms-request-id="6cbf87de-48fa-4228-9af1-919a9b0b89e6" body="{\"id\":\"/subscriptions/xxx/resourceGroups/playground3\",\"name\":\"playground3\",\"location\":\"northeurope\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" status="200 OK"
2017/10/03 13:46:53 packer: 2017/10/03 13:46:53 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/resourceGroups/playground3/providers/Microsoft.Compute/images/ExampleImage1?api-version=2016-04-30-preview" body=""
2017/10/03 13:46:54 packer: 2017/10/03 13:46:54 Azure response x-ms-request-id="261b017d-4e0d-4e29-b2ab-a589c4734bc9" body="{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource 'Microsoft.Compute/images/ExampleImage1' under resource group 'playground3' was not found.\"}}" status="404 Not Found" method="GET" request="https://management.azure.com/subscriptions/xxx/resourceGroups/playground3/providers/Microsoft.Compute/images/ExampleImage1?api-version=2016-04-30-preview"
2017/10/03 13:46:54 packer: 2017/10/03 13:46:54 Azure response x-ms-request-id="261b017d-4e0d-4e29-b2ab-a589c4734bc9" body="{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource 'Microsoft.Compute/images/ExampleImage1' under resource group 'playground3' was not found.\"}}" status="404 Not Found" method="GET" request="https://management.azure.com/subscriptions/xxx/resourceGroups/playground3/providers/Microsoft.Compute/images/ExampleImage1?api-version=2016-04-30-preview"
2017/10/03 13:46:54 ui: ==> azure-arm: Creating resource group ...
==> azure-arm: Creating resource group ...
2017/10/03 13:46:54 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:46:54 ui: ==> azure-arm: -> Location : 'North Europe'
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:46:54 ui: ==> azure-arm: -> Tags :
==> azure-arm: -> Location : 'North Europe'
==> azure-arm: -> Tags :
2017/10/03 13:46:54 ui: ==> azure-arm: ->> dept : engineering
==> azure-arm: ->> dept : engineering
2017/10/03 13:46:54 ui: ==> azure-arm: ->> task : image deployment
==> azure-arm: ->> task : image deployment
2017/10/03 13:46:54 packer: 2017/10/03 13:46:54 Azure request method="PUT" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6?api-version=2016-09-01" body="{\"location\":\"North Europe\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"}}"
2017/10/03 13:46:55 packer: 2017/10/03 13:46:55 Azure response body="{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6\",\"name\":\"packer-Resource-Group-q2qyrc4ly6\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}" status="201 Created" method="PUT" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6?api-version=2016-09-01" x-ms-request-id="97aaadda-60ab-4680-ae76-85b82536f1a7"
2017/10/03 13:46:55 packer: 2017/10/03 13:46:55 Azure response status="201 Created" method="PUT" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6?api-version=2016-09-01" x-ms-request-id="97aaadda-60ab-4680-ae76-85b82536f1a7" body="{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6\",\"name\":\"packer-Resource-Group-q2qyrc4ly6\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}"
==> azure-arm: Validating deployment template ...
2017/10/03 13:46:55 ui: ==> azure-arm: Validating deployment template ...
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:46:55 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
==> azure-arm: -> DeploymentName : 'pkrdpqx41da4ly6'
2017/10/03 13:46:55 ui: ==> azure-arm: -> DeploymentName : 'pkrdpqx41da4ly6'
2017/10/03 13:46:55 packer: 2017/10/03 13:46:55 Azure request method="POST" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/validate?api-version=2016-09-01" body="{\"properties\":{\"template\":{\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"adminPassword\":{\"type\":\"string\"},\"adminUsername\":{\"type\":\"string\"},\"dnsNameForPublicIP\":{\"type\":\"string\"},\"osDiskName\":{\"type\":\"string\"},\"storageAccountBlobEndpoint\":{\"type\":\"string\"},\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\"}},\"resources\":[{\"apiVersion\":\"[variables('publicIPAddressApiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[variables('publicIPAddressName')]\",\"properties\":{\"dnsSettings\":{\"domainNameLabel\":\"[parameters('dnsNameForPublicIP')]\"},\"publicIPAllocationMethod\":\"[variables('publicIPAddressType')]\"},\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"type\":\"Microsoft.Network/publicIPAddresses\"},{\"apiVersion\":\"[variables('virtualNetworksApiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[variables('virtualNetworkName')]\",\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"[variables('addressPrefix')]\"]},\"subnets\":[{\"name\":\"[variables('subnetName')]\",\"properties\":{\"addressPrefix\":\"[variables('subnetAddressPrefix')]\"}}]},\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"type\":\"Microsoft.Network/virtualNetworks\"},{\"apiVersion\":\"[variables('networkInterfacesApiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]\",\"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[variables('nicName')]\",\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"publicIPAddress\":{\"id\":\"[resourceId('Microsoft.Network/publicIPAddresses', variables('publicIPAddressName'))]\"},\"subnet\":{\"id\":\"[variables('subnetRef')]\"}}}]},\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"type\":\"Microsoft.Network/networkInterfaces\"},{\"apiVersion\":\"[variables('apiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[parameters('vmName')]\",\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[resourceId('Microsoft.Network/networkInterfaces', variables('nicName'))]\"}]},\"osProfile\":{\"adminPassword\":\"[parameters('adminPassword')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"computerName\":\"[parameters('vmName')]\",\"linuxConfiguration\":{\"ssh\":{\"publicKeys\":[{\"keyData\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClG9TYZtShaYzXcEiOhsc3bLUdRTEbUVfxtkYv4LSdnG8rMqdNUViHvKqd/0adNLCTdslJ5q4NR4z0QPsjG5lgY4A2m48amHjAH5Garzd4/6mMbYPy/iDpMVeLFwFMZSaiFCL1hYPHNG2fZFsRRVYFHF1KvhN7KbFHJlzBC1EkvB1JX713xYxaD7v/sFQtfiH/6sRWreK/uGR9Rbu09fRXzYMfAA9KtUTSz8uGEF35YDvK1Po9xeo9Yv3PZt7UbgFxaWV01jKiNYxfuDuIy5DxpCZlL9mSDtvjRQnA2qPsBoQKe/7IQmCmYhDPPG7xT0GSZwzcXbSpT3VPmtkkqKhX packer Azure Deployment2017-10-03T13:46:50+03:00\",\"path\":\"[variables('sshKeyPath')]\"}]}}},\"storageProfile\":{\"imageReference\":{\"offer\":\"UbuntuServer\",\"publisher\":\"Canonical\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"fromImage\",\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"osdisk\",\"osType\":\"Linux\"}}},\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"type\":\"Microsoft.Compute/virtualMachines\"}],\"variables\":{\"addressPrefix\":\"10.0.0.0/16\",\"apiVersion\":\"2017-03-30\",\"location\":\"[resourceGroup().location]\",\"managedDiskApiVersion\":\"2017-03-30\",\"networkInterfacesApiVersion\":\"2017-04-01\",\"nicName\":\"packerNic\",\"publicIPAddressApiVersion\":\"2017-04-01\",\"publicIPAddressName\":\"packerPublicIP\",\"publicIPAddressType\":\"Dynamic\",\"sshKeyPath\":\"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]\",\"subnetAddressPrefix\":\"10.0.0.0/24\",\"subnetName\":\"packerSubnet\",\"subnetRef\":\"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]\",\"virtualNetworkName\":\"packerNetwork\",\"virtualNetworkResourceGroup\":\"[resourceGroup().name]\",\"virtualNetworksApiVersion\":\"2017-04-01\",\"vmStorageAccountContainerName\":\"images\",\"vnetID\":\"[resourceId(variables('virtualNetworkResourceGroup'), 'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]\"}},\"parameters\":{\"adminPassword\":{\"value\":\"x2E7BJvxPWiJScov8Yfisgk2Sn2WNGJS\"},\"adminUsername\":{\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"value\":\"pkrvmq2qyrc4ly6\"},\"osDiskName\":{\"value\":\"pkrosq2qyrc4ly6\"},\"storageAccountBlobEndpoint\":{\"value\":\"\"},\"vmName\":{\"value\":\"pkrvmq2qyrc4ly6\"},\"vmSize\":{\"value\":\"Standard_DS2_v2\"}},\"mode\":\"Incremental\"}}"
2017/10/03 13:46:57 packer: 2017/10/03 13:46:57 Azure response status="200 OK" method="POST" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/validate?api-version=2016-09-01" x-ms-request-id="1b026d2e-aea9-42db-9048-7af8f37aed90" body="{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6\",\"name\":\"pkrdpqx41da4ly6\",\"properties\":{\"templateHash\":\"12256539107660077014\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"x2E7BJvxPWiJScov8Yfisgk2Sn2WNGJS\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmq2qyrc4ly6\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosq2qyrc4ly6\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmq2qyrc4ly6\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_DS2_v2\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Succeeded\",\"timestamp\":\"2017-10-03T10:46:56.6698785Z\",\"duration\":\"PT0S\",\"correlationId\":\"1b026d2e-aea9-42db-9048-7af8f37aed90\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"publicIPAddresses\",\"locations\":[\"northeurope\"]},{\"resourceType\":\"virtualNetworks\",\"locations\":[\"northeurope\"]},{\"resourceType\":\"networkInterfaces\",\"locations\":[\"northeurope\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"northeurope\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"resourceType\":\"Microsoft.Network/publicIPAddresses\",\"resourceName\":\"packerPublicIP\"},{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"resourceType\":\"Microsoft.Network/virtualNetworks\",\"resourceName\":\"packerNetwork\"}],\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"},{\"dependsOn\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"}],\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmq2qyrc4ly6\"}],\"validatedResources\":[{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"name\":\"packerPublicIP\",\"type\":\"Microsoft.Network/publicIPAddresses\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"dnsSettings\":{\"domainNameLabel\":\"pkrvmq2qyrc4ly6\"},\"publicIPAllocationMethod\":\"Dynamic\"}},{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"name\":\"packerNetwork\",\"type\":\"Microsoft.Network/virtualNetworks\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"10.0.0.0/16\"]},\"subnets\":[{\"name\":\"packerSubnet\",\"properties\":{\"addressPrefix\":\"10.0.0.0/24\"}}]}},{\"dependsOn\":[\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork\"],\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\",\"name\":\"packerNic\",\"type\":\"Microsoft.Network/networkInterfaces\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"publicIPAddress\":{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\"},\"subnet\":{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork/subnets/packerSubnet\"}}}]}},{\"dependsOn\":[\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\"],\"apiVersion\":\"2017-03-30\",\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\",\"name\":\"pkrvmq2qyrc4ly6\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"Standard_DS2_v2\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\"}]},\"osProfile\":{\"adminPassword\":\"x2E7BJvxPWiJScov8Yfisgk2Sn2WNGJS\",\"adminUsername\":\"packer\",\"computerName\":\"pkrvmq2qyrc4ly6\",\"linuxConfiguration\":{\"ssh\":{\"publicKeys\":[{\"keyData\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClG9TYZtShaYzXcEiOhsc3bLUdRTEbUVfxtkYv4LSdnG8rMqdNUViHvKqd/0adNLCTdslJ5q4NR4z0QPsjG5lgY4A2m48amHjAH5Garzd4/6mMbYPy/iDpMVeLFwFMZSaiFCL1hYPHNG2fZFsRRVYFHF1KvhN7KbFHJlzBC1EkvB1JX713xYxaD7v/sFQtfiH/6sRWreK/uGR9Rbu09fRXzYMfAA9KtUTSz8uGEF35YDvK1Po9xeo9Yv3PZt7UbgFxaWV01jKiNYxfuDuIy5DxpCZlL9mSDtvjRQnA2qPsBoQKe/7IQmCmYhDPPG7xT0GSZwzcXbSpT3VPmtkkqKhX packer Azure Deployment2017-10-03T13:46:50+03:00\",\"path\":\"/home/packer/.ssh/authorized_keys\"}]}}},\"storageProfile\":{\"imageReference\":{\"offer\":\"UbuntuServer\",\"publisher\":\"Canonical\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"fromImage\",\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"osdisk\",\"osType\":\"Linux\"}}}}]}}"
2017/10/03 13:46:57 packer: 2017/10/03 13:46:57 Azure response body="{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6\",\"name\":\"pkrdpqx41da4ly6\",\"properties\":{\"templateHash\":\"12256539107660077014\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"x2E7BJvxPWiJScov8Yfisgk2Sn2WNGJS\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmq2qyrc4ly6\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosq2qyrc4ly6\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmq2qyrc4ly6\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_DS2_v2\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Succeeded\",\"timestamp\":\"2017-10-03T10:46:56.6698785Z\",\"duration\":\"PT0S\",\"correlationId\":\"1b026d2e-aea9-42db-9048-7af8f37aed90\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"publicIPAddresses\",\"locations\":[\"northeurope\"]},{\"resourceType\":\"virtualNetworks\",\"locations\":[\"northeurope\"]},{\"resourceType\":\"networkInterfaces\",\"locations\":[\"northeurope\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"northeurope\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"resourceType\":\"Microsoft.Network/publicIPAddresses\",\"resourceName\":\"packerPublicIP\"},{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"resourceType\":\"Microsoft.Network/virtualNetworks\",\"resourceName\":\"packerNetwork\"}],\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"},{\"dependsOn\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"}],\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmq2qyrc4ly6\"}],\"validatedResources\":[{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"name\":\"packerPublicIP\",\"type\":\"Microsoft.Network/publicIPAddresses\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"dnsSettings\":{\"domainNameLabel\":\"pkrvmq2qyrc4ly6\"},\"publicIPAllocationMethod\":\"Dynamic\"}},{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"name\":\"packerNetwork\",\"type\":\"Microsoft.Network/virtualNetworks\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"10.0.0.0/16\"]},\"subnets\":[{\"name\":\"packerSubnet\",\"properties\":{\"addressPrefix\":\"10.0.0.0/24\"}}]}},{\"dependsOn\":[\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork\"],\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\",\"name\":\"packerNic\",\"type\":\"Microsoft.Network/networkInterfaces\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"publicIPAddress\":{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\"},\"subnet\":{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork/subnets/packerSubnet\"}}}]}},{\"dependsOn\":[\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\"],\"apiVersion\":\"2017-03-30\",\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\",\"name\":\"pkrvmq2qyrc4ly6\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"northeurope\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"Standard_DS2_v2\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\"}]},\"osProfile\":{\"adminPassword\":\"x2E7BJvxPWiJScov8Yfisgk2Sn2WNGJS\",\"adminUsername\":\"packer\",\"computerName\":\"pkrvmq2qyrc4ly6\",\"linuxConfiguration\":{\"ssh\":{\"publicKeys\":[{\"keyData\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClG9TYZtShaYzXcEiOhsc3bLUdRTEbUVfxtkYv4LSdnG8rMqdNUViHvKqd/0adNLCTdslJ5q4NR4z0QPsjG5lgY4A2m48amHjAH5Garzd4/6mMbYPy/iDpMVeLFwFMZSaiFCL1hYPHNG2fZFsRRVYFHF1KvhN7KbFHJlzBC1EkvB1JX713xYxaD7v/sFQtfiH/6sRWreK/uGR9Rbu09fRXzYMfAA9KtUTSz8uGEF35YDvK1Po9xeo9Yv3PZt7UbgFxaWV01jKiNYxfuDuIy5DxpCZlL9mSDtvjRQnA2qPsBoQKe/7IQmCmYhDPPG7xT0GSZwzcXbSpT3VPmtkkqKhX packer Azure Deployment2017-10-03T13:46:50+03:00\",\"path\":\"/home/packer/.ssh/authorized_keys\"}]}}},\"storageProfile\":{\"imageReference\":{\"offer\":\"UbuntuServer\",\"publisher\":\"Canonical\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"fromImage\",\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"osdisk\",\"osType\":\"Linux\"}}}}]}}" status="200 OK" method="POST" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/validate?api-version=2016-09-01" x-ms-request-id="1b026d2e-aea9-42db-9048-7af8f37aed90"
2017/10/03 13:46:57 ui: ==> azure-arm: Deploying deployment template ...
==> azure-arm: Deploying deployment template ...
2017/10/03 13:46:57 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:46:57 ui: ==> azure-arm: -> DeploymentName : 'pkrdpqx41da4ly6'
==> azure-arm: -> DeploymentName : 'pkrdpqx41da4ly6'
2017/10/03 13:46:57 packer: 2017/10/03 13:46:57 Azure request method="PUT" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6?api-version=2016-09-01" body="{\"properties\":{\"template\":{\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"adminPassword\":{\"type\":\"string\"},\"adminUsername\":{\"type\":\"string\"},\"dnsNameForPublicIP\":{\"type\":\"string\"},\"osDiskName\":{\"type\":\"string\"},\"storageAccountBlobEndpoint\":{\"type\":\"string\"},\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\"}},\"resources\":[{\"apiVersion\":\"[variables('publicIPAddressApiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[variables('publicIPAddressName')]\",\"properties\":{\"dnsSettings\":{\"domainNameLabel\":\"[parameters('dnsNameForPublicIP')]\"},\"publicIPAllocationMethod\":\"[variables('publicIPAddressType')]\"},\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"type\":\"Microsoft.Network/publicIPAddresses\"},{\"apiVersion\":\"[variables('virtualNetworksApiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[variables('virtualNetworkName')]\",\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"[variables('addressPrefix')]\"]},\"subnets\":[{\"name\":\"[variables('subnetName')]\",\"properties\":{\"addressPrefix\":\"[variables('subnetAddressPrefix')]\"}}]},\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"type\":\"Microsoft.Network/virtualNetworks\"},{\"apiVersion\":\"[variables('networkInterfacesApiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]\",\"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[variables('nicName')]\",\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"publicIPAddress\":{\"id\":\"[resourceId('Microsoft.Network/publicIPAddresses', variables('publicIPAddressName'))]\"},\"subnet\":{\"id\":\"[variables('subnetRef')]\"}}}]},\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"type\":\"Microsoft.Network/networkInterfaces\"},{\"apiVersion\":\"[variables('apiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[parameters('vmName')]\",\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[resourceId('Microsoft.Network/networkInterfaces', variables('nicName'))]\"}]},\"osProfile\":{\"adminPassword\":\"[parameters('adminPassword')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"computerName\":\"[parameters('vmName')]\",\"linuxConfiguration\":{\"ssh\":{\"publicKeys\":[{\"keyData\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClG9TYZtShaYzXcEiOhsc3bLUdRTEbUVfxtkYv4LSdnG8rMqdNUViHvKqd/0adNLCTdslJ5q4NR4z0QPsjG5lgY4A2m48amHjAH5Garzd4/6mMbYPy/iDpMVeLFwFMZSaiFCL1hYPHNG2fZFsRRVYFHF1KvhN7KbFHJlzBC1EkvB1JX713xYxaD7v/sFQtfiH/6sRWreK/uGR9Rbu09fRXzYMfAA9KtUTSz8uGEF35YDvK1Po9xeo9Yv3PZt7UbgFxaWV01jKiNYxfuDuIy5DxpCZlL9mSDtvjRQnA2qPsBoQKe/7IQmCmYhDPPG7xT0GSZwzcXbSpT3VPmtkkqKhX packer Azure Deployment2017-10-03T13:46:50+03:00\",\"path\":\"[variables('sshKeyPath')]\"}]}}},\"storageProfile\":{\"imageReference\":{\"offer\":\"UbuntuServer\",\"publisher\":\"Canonical\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"fromImage\",\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"osdisk\",\"osType\":\"Linux\"}}},\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"type\":\"Microsoft.Compute/virtualMachines\"}],\"variables\":{\"addressPrefix\":\"10.0.0.0/16\",\"apiVersion\":\"2017-03-30\",\"location\":\"[resourceGroup().location]\",\"managedDiskApiVersion\":\"2017-03-30\",\"networkInterfacesApiVersion\":\"2017-04-01\",\"nicName\":\"packerNic\",\"publicIPAddressApiVersion\":\"2017-04-01\",\"publicIPAddressName\":\"packerPublicIP\",\"publicIPAddressType\":\"Dynamic\",\"sshKeyPath\":\"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]\",\"subnetAddressPrefix\":\"10.0.0.0/24\",\"subnetName\":\"packerSubnet\",\"subnetRef\":\"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]\",\"virtualNetworkName\":\"packerNetwork\",\"virtualNetworkResourceGroup\":\"[resourceGroup().name]\",\"virtualNetworksApiVersion\":\"2017-04-01\",\"vmStorageAccountContainerName\":\"images\",\"vnetID\":\"[resourceId(variables('virtualNetworkResourceGroup'), 'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]\"}},\"parameters\":{\"adminPassword\":{\"value\":\"x2E7BJvxPWiJScov8Yfisgk2Sn2WNGJS\"},\"adminUsername\":{\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"value\":\"pkrvmq2qyrc4ly6\"},\"osDiskName\":{\"value\":\"pkrosq2qyrc4ly6\"},\"storageAccountBlobEndpoint\":{\"value\":\"\"},\"vmName\":{\"value\":\"pkrvmq2qyrc4ly6\"},\"vmSize\":{\"value\":\"Standard_DS2_v2\"}},\"mode\":\"Incremental\"}}"
2017/10/03 13:46:58 packer: 2017/10/03 13:46:58 Azure response status="201 Created" method="PUT" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6?api-version=2016-09-01" x-ms-request-id="886f4bb4-d26b-4bb5-af89-51f1628088ff" body="{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6\",\"name\":\"pkrdpqx41da4ly6\",\"properties\":{\"templateHash\":\"12256539107660077014\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"x2E7BJvxPWiJScov8Yfisgk2Sn2WNGJS\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmq2qyrc4ly6\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosq2qyrc4ly6\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmq2qyrc4ly6\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_DS2_v2\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Accepted\",\"timestamp\":\"2017-10-03T10:46:58.3975933Z\",\"duration\":\"PT0.3756898S\",\"correlationId\":\"886f4bb4-d26b-4bb5-af89-51f1628088ff\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"publicIPAddresses\",\"locations\":[\"northeurope\"]},{\"resourceType\":\"virtualNetworks\",\"locations\":[\"northeurope\"]},{\"resourceType\":\"networkInterfaces\",\"locations\":[\"northeurope\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"northeurope\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"resourceType\":\"Microsoft.Network/publicIPAddresses\",\"resourceName\":\"packerPublicIP\"},{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"resourceType\":\"Microsoft.Network/virtualNetworks\",\"resourceName\":\"packerNetwork\"}],\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"},{\"dependsOn\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"}],\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmq2qyrc4ly6\"}]}}"
2017/10/03 13:47:58 packer: 2017/10/03 13:47:58 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/operationStatuses/08586945792674557325?api-version=2016-09-01" body=""
2017/10/03 13:47:58 packer: 2017/10/03 13:47:58 Azure response x-ms-request-id="9267fe0b-f442-4210-9f4e-8b1ce8d1f997" body="{\"status\":\"Running\"}" status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/operationStatuses/08586945792674557325?api-version=2016-09-01"
2017/10/03 13:48:58 packer: 2017/10/03 13:48:58 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/operationStatuses/08586945792674557325?api-version=2016-09-01" body=""
2017/10/03 13:48:58 packer: 2017/10/03 13:48:58 Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/operationStatuses/08586945792674557325?api-version=2016-09-01" x-ms-request-id="3fdd9ee9-9174-4f5a-b2da-9ac94b700351" body="{\"status\":\"Running\"}"
2017/10/03 13:49:58 packer: 2017/10/03 13:49:58 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/operationStatuses/08586945792674557325?api-version=2016-09-01" body=""
2017/10/03 13:49:59 packer: 2017/10/03 13:49:59 Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/operationStatuses/08586945792674557325?api-version=2016-09-01" x-ms-request-id="87f563a8-6833-49e4-9505-3fa517f35a2c" body="{\"status\":\"Succeeded\"}"
2017/10/03 13:49:59 packer: 2017/10/03 13:49:59 Azure response request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Resources/deployments/pkrdpqx41da4ly6/operationStatuses/08586945792674557325?api-version=2016-09-01" x-ms-request-id="87f563a8-6833-49e4-9505-3fa517f35a2c" body="{\"status\":\"Succeeded\"}" status="200 OK" method="GET"
2017/10/03 13:49:59 ui: ==> azure-arm: Getting the VM's IP address ...
==> azure-arm: Getting the VM's IP address ...
2017/10/03 13:49:59 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:49:59 ui: ==> azure-arm: -> PublicIPAddressName : 'packerPublicIP'
2017/10/03 13:49:59 ui: ==> azure-arm: -> NicName : 'packerNic'
==> azure-arm: -> PublicIPAddressName : 'packerPublicIP'
==> azure-arm: -> NicName : 'packerNic'
2017/10/03 13:49:59 ui: ==> azure-arm: -> Network Connection : 'PublicEndpoint'
==> azure-arm: -> Network Connection : 'PublicEndpoint'
2017/10/03 13:49:59 packer: 2017/10/03 13:49:59 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP?api-version=2017-03-01" body=""
2017/10/03 13:49:59 packer: 2017/10/03 13:49:59 Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP?api-version=2017-03-01" x-ms-request-id="4db8fe16-f5c0-438d-82cf-682eca170a6c" body="{\r\n \"name\": \"packerPublicIP\",\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\r\n \"etag\": \"W/\\\"92e48a64-421b-412f-9881-d3e4758a5f88\\\"\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {\r\n \"dept\": \"engineering\",\r\n \"task\": \"image deployment\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"476488b6-e18b-4e35-b389-c51198383ad8\",\r\n \"ipAddress\": \"xxx.xxx.xxx.xxx\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"pkrvmq2qyrc4ly6\",\r\n \"fqdn\": \"pkrvmq2qyrc4ly6.northeurope.cloudapp.azure.com\"\r\n },\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic/ipConfigurations/ipconfig\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}"
2017/10/03 13:49:59 packer: 2017/10/03 13:49:59 Azure response x-ms-request-id="4db8fe16-f5c0-438d-82cf-682eca170a6c" body="{\r\n \"name\": \"packerPublicIP\",\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\r\n \"etag\": \"W/\\\"92e48a64-421b-412f-9881-d3e4758a5f88\\\"\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {\r\n \"dept\": \"engineering\",\r\n \"task\": \"image deployment\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"476488b6-e18b-4e35-b389-c51198383ad8\",\r\n \"ipAddress\": \"xxx.xxx.xxx.xxx\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"pkrvmq2qyrc4ly6\",\r\n \"fqdn\": \"pkrvmq2qyrc4ly6.northeurope.cloudapp.azure.com\"\r\n },\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic/ipConfigurations/ipconfig\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}" status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/publicIPAddresses/packerPublicIP?api-version=2017-03-01"
2017/10/03 13:49:59 ui: ==> azure-arm: -> IP Address : 'xxx.xxx.xxx.xxx'
==> azure-arm: -> IP Address : 'xxx.xxx.xxx.xxx'
2017/10/03 13:49:59 packer: 2017/10/03 13:49:59 [INFO] Waiting for SSH, up to timeout: 20m0s
2017/10/03 13:49:59 ui: ==> azure-arm: Waiting for SSH to become available...
==> azure-arm: Waiting for SSH to become available...
2017/10/03 13:49:59 packer: 2017/10/03 13:49:59 [INFO] Attempting SSH connection...
2017/10/03 13:49:59 packer: 2017/10/03 13:49:59 reconnecting to TCP connection for SSH
2017/10/03 13:50:00 packer: 2017/10/03 13:50:00 handshaking with SSH
2017/10/03 13:50:01 packer: 2017/10/03 13:50:01 handshake complete!
2017/10/03 13:50:01 packer: 2017/10/03 13:50:01 opening new ssh session
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 [INFO] agent forwarding enabled
2017/10/03 13:50:02 ui: ==> azure-arm: Connected to SSH!
==> azure-arm: Connected to SSH!
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 Running the provision hook
2017/10/03 13:50:02 [INFO] (telemetry) Starting provisioner shell
2017/10/03 13:50:02 ui: ==> azure-arm: Provisioning with shell script: /var/folders/6g/84rkjyjx70n3qbjnfyhkfzt40000gn/T/packer-shell481484831
==> azure-arm: Provisioning with shell script: /var/folders/6g/84rkjyjx70n3qbjnfyhkfzt40000gn/T/packer-shell481484831
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 Opening /var/folders/6g/84rkjyjx70n3qbjnfyhkfzt40000gn/T/packer-shell481484831 for reading
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 [INFO] 119 bytes written for 'uploadData'
2017/10/03 13:50:02 [INFO] 119 bytes written for 'uploadData'
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 opening new ssh session
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 Starting remote scp process: scp -vt /tmp
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 Started SCP session, beginning transfers...
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 Copying input data into temporary file so we can read the length
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 [DEBUG] scp: Uploading script_7863.sh: perms=C0644 size=119
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 SCP session complete, closing stdin pipe.
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 Waiting for SSH session to complete.
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 scp stderr (length 31): Sink: C0644 119 script_7863.sh
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 opening new ssh session
2017/10/03 13:50:02 packer: 2017/10/03 13:50:02 starting remote command: chmod 0755 /tmp/script_7863.sh
2017/10/03 13:50:03 packer: 2017/10/03 13:50:03 [INFO] RPC endpoint: Communicator ended with: 0
2017/10/03 13:50:03 [INFO] RPC client: Communicator ended with: 0
2017/10/03 13:50:03 [INFO] RPC endpoint: Communicator ended with: 0
2017/10/03 13:50:03 packer: 2017/10/03 13:50:03 [INFO] RPC client: Communicator ended with: 0
2017/10/03 13:50:03 packer: 2017/10/03 13:50:03 opening new ssh session
2017/10/03 13:50:03 packer: 2017/10/03 13:50:03 starting remote command: chmod +x /tmp/script_7863.sh; PACKER_BUILDER_TYPE='azure-arm' PACKER_BUILD_NAME='azure-arm' sudo -E sh '/tmp/script_7863.sh'
2017/10/03 13:50:03 ui: azure-arm: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
azure-arm: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
2017/10/03 13:50:03 ui: azure-arm: Hit:2 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
azure-arm: Hit:2 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
2017/10/03 13:50:03 ui: azure-arm: Get:3 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
azure-arm: Get:3 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:4 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
azure-arm: Get:4 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:5 http://azure.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
azure-arm: Get:5 http://azure.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
azure-arm: Get:6 http://security.ubuntu.com/ubuntu xenial-security/main Sources [93.1 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:6 http://security.ubuntu.com/ubuntu xenial-security/main Sources [93.1 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:7 http://azure.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
azure-arm: Get:7 http://azure.archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
2017/10/03 13:50:04 ui: azure-arm: Get:8 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,600 B]
azure-arm: Get:8 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,600 B]
2017/10/03 13:50:04 ui: azure-arm: Get:9 http://azure.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
azure-arm: Get:9 http://azure.archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [43.0 kB]
azure-arm: Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [43.0 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,140 B]
azure-arm: Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,140 B]
2017/10/03 13:50:04 ui: azure-arm: Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [358 kB]
azure-arm: Get:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [358 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:13 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [159 kB]
azure-arm: Get:13 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [159 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [169 kB]
azure-arm: Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [169 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [89.9 kB]
azure-arm: Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [89.9 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:16 http://azure.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
azure-arm: Get:16 http://azure.archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:17 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main Sources [277 kB]
azure-arm: Get:17 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main Sources [277 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:18 http://azure.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3,404 B]
azure-arm: Get:18 http://azure.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3,404 B]
2017/10/03 13:50:04 ui: azure-arm: Get:19 http://azure.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [175 kB]
azure-arm: Get:19 http://azure.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [175 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:20 http://azure.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,208 B]
azure-arm: Get:20 http://azure.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,208 B]
2017/10/03 13:50:04 ui: azure-arm: Get:21 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [636 kB]
azure-arm: Get:21 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [636 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:22 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [266 kB]
azure-arm: Get:22 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [266 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:23 http://azure.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [538 kB]
azure-arm: Get:23 http://azure.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [538 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:24 http://azure.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [218 kB]
azure-arm: Get:24 http://azure.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [218 kB]
2017/10/03 13:50:04 ui: azure-arm: Get:25 http://azure.archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,432 B]
azure-arm: Get:25 http://azure.archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,432 B]
2017/10/03 13:50:04 ui: azure-arm: Get:26 http://azure.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,376 B]
azure-arm: Get:26 http://azure.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,376 B]
2017/10/03 13:50:04 ui: azure-arm: Get:27 http://azure.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,860 B]
azure-arm: Get:27 http://azure.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,860 B]
2017/10/03 13:50:04 ui: azure-arm: Get:28 http://azure.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [5,896 B]
azure-arm: Get:28 http://azure.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [5,896 B]
2017/10/03 13:50:04 ui: azure-arm: Get:29 http://azure.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,060 B]
azure-arm: Get:29 http://azure.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,060 B]
2017/10/03 13:50:08 ui: azure-arm: Fetched 12.1 MB in 2s (4,759 kB/s)
azure-arm: Fetched 12.1 MB in 2s (4,759 kB/s)
2017/10/03 13:50:09 ui: azure-arm: Reading package lists...
azure-arm: Reading package lists...
2017/10/03 13:50:09 ui: azure-arm: Reading package lists...
azure-arm: Reading package lists...
2017/10/03 13:50:09 ui: azure-arm: Building dependency tree...
azure-arm: Building dependency tree...
2017/10/03 13:50:09 ui: azure-arm: Reading state information...
azure-arm: Reading state information...
2017/10/03 13:50:09 ui: azure-arm: Calculating upgrade...
azure-arm: Calculating upgrade...
2017/10/03 13:50:09 ui: azure-arm: The following packages will be upgraded:
azure-arm: The following packages will be upgraded:
2017/10/03 13:50:09 ui: azure-arm: ca-certificates dnsmasq-base libidn11 libplymouth4 libpython3.5
azure-arm: ca-certificates dnsmasq-base libidn11 libplymouth4 libpython3.5
2017/10/03 13:50:09 ui: azure-arm: libpython3.5-minimal libpython3.5-stdlib libwbclient0 mdadm plymouth
azure-arm: libpython3.5-minimal libpython3.5-stdlib libwbclient0 mdadm plymouth
2017/10/03 13:50:09 ui: azure-arm: plymouth-theme-ubuntu-text python-samba python3.5 python3.5-minimal
azure-arm: plymouth-theme-ubuntu-text python-samba python3.5 python3.5-minimal
2017/10/03 13:50:09 ui: azure-arm: samba-common samba-common-bin samba-libs unattended-upgrades xfsprogs
azure-arm: samba-common samba-common-bin samba-libs unattended-upgrades xfsprogs
2017/10/03 13:50:09 ui: azure-arm: 19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
azure-arm: 19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2017/10/03 13:50:09 ui: azure-arm: Need to get 14.4 MB of archives.
azure-arm: Need to get 14.4 MB of archives.
2017/10/03 13:50:09 ui: azure-arm: After this operation, 68.6 kB disk space will be freed.
azure-arm: After this operation, 68.6 kB disk space will be freed.
2017/10/03 13:50:09 ui: azure-arm: Get:1 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5 amd64 3.5.2-2ubuntu0~16.04.3 [1,360 kB]
azure-arm: Get:1 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5 amd64 3.5.2-2ubuntu0~16.04.3 [1,360 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5 amd64 3.5.2-2ubuntu0~16.04.3 [165 kB]
azure-arm: Get:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5 amd64 3.5.2-2ubuntu0~16.04.3 [165 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:3 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-stdlib amd64 3.5.2-2ubuntu0~16.04.3 [2,132 kB]
azure-arm: Get:3 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-stdlib amd64 3.5.2-2ubuntu0~16.04.3 [2,132 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:4 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5-minimal amd64 3.5.2-2ubuntu0~16.04.3 [1,596 kB]
azure-arm: Get:4 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5-minimal amd64 3.5.2-2ubuntu0~16.04.3 [1,596 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:5 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-minimal amd64 3.5.2-2ubuntu0~16.04.3 [524 kB]
azure-arm: Get:5 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-minimal amd64 3.5.2-2ubuntu0~16.04.3 [524 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:6 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-samba amd64 2:4.3.11+dfsg-0ubuntu0.16.04.11 [1,059 kB]
azure-arm: Get:6 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-samba amd64 2:4.3.11+dfsg-0ubuntu0.16.04.11 [1,059 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:7 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-common-bin amd64 2:4.3.11+dfsg-0ubuntu0.16.04.11 [506 kB]
azure-arm: Get:7 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-common-bin amd64 2:4.3.11+dfsg-0ubuntu0.16.04.11 [506 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:8 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-libs amd64 2:4.3.11+dfsg-0ubuntu0.16.04.11 [5,172 kB]
azure-arm: Get:8 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-libs amd64 2:4.3.11+dfsg-0ubuntu0.16.04.11 [5,172 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:9 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libwbclient0 amd64 2:4.3.11+dfsg-0ubuntu0.16.04.11 [30.2 kB]
azure-arm: Get:9 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libwbclient0 amd64 2:4.3.11+dfsg-0ubuntu0.16.04.11 [30.2 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:10 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-common all 2:4.3.11+dfsg-0ubuntu0.16.04.11 [84.0 kB]
azure-arm: Get:10 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-common all 2:4.3.11+dfsg-0ubuntu0.16.04.11 [84.0 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:11 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libidn11 amd64 1.32-3ubuntu1.2 [46.5 kB]
azure-arm: Get:11 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libidn11 amd64 1.32-3ubuntu1.2 [46.5 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:12 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates all 20170717~16.04.1 [168 kB]
azure-arm: Get:12 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates all 20170717~16.04.1 [168 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:13 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libplymouth4 amd64 0.9.2-3ubuntu13.2 [85.1 kB]
azure-arm: Get:13 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libplymouth4 amd64 0.9.2-3ubuntu13.2 [85.1 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:14 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth amd64 0.9.2-3ubuntu13.2 [107 kB]
azure-arm: Get:14 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth amd64 0.9.2-3ubuntu13.2 [107 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:15 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth-theme-ubuntu-text amd64 0.9.2-3ubuntu13.2 [9,094 B]
azure-arm: Get:15 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 plymouth-theme-ubuntu-text amd64 0.9.2-3ubuntu13.2 [9,094 B]
2017/10/03 13:50:10 ui: azure-arm: Get:16 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dnsmasq-base amd64 2.75-1ubuntu0.16.04.3 [295 kB]
azure-arm: Get:16 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dnsmasq-base amd64 2.75-1ubuntu0.16.04.3 [295 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:17 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mdadm amd64 3.3-2ubuntu7.4 [394 kB]
azure-arm: Get:17 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mdadm amd64 3.3-2ubuntu7.4 [394 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:18 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 unattended-upgrades all 0.90ubuntu0.8 [32.4 kB]
azure-arm: Get:18 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 unattended-upgrades all 0.90ubuntu0.8 [32.4 kB]
2017/10/03 13:50:10 ui: azure-arm: Get:19 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 xfsprogs amd64 4.3.0+nmu1ubuntu1.1 [597 kB]
azure-arm: Get:19 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 xfsprogs amd64 4.3.0+nmu1ubuntu1.1 [597 kB]
2017/10/03 13:50:10 ui: azure-arm: debconf: unable to initialize frontend: Dialog
azure-arm: debconf: unable to initialize frontend: Dialog
2017/10/03 13:50:10 ui: azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2017/10/03 13:50:10 ui: azure-arm: debconf: falling back to frontend: Readline
azure-arm: debconf: falling back to frontend: Readline
2017/10/03 13:50:10 ui: azure-arm: debconf: unable to initialize frontend: Readline
azure-arm: debconf: unable to initialize frontend: Readline
2017/10/03 13:50:10 ui: azure-arm: debconf: (This frontend requires a controlling tty.)
azure-arm: debconf: (This frontend requires a controlling tty.)
2017/10/03 13:50:10 ui: azure-arm: debconf: falling back to frontend: Teletype
azure-arm: debconf: falling back to frontend: Teletype
2017/10/03 13:50:10 ui: azure-arm: dpkg-preconfigure: unable to re-open stdin:
azure-arm: dpkg-preconfigure: unable to re-open stdin:
2017/10/03 13:50:11 ui: azure-arm: Fetched 14.4 MB in 0s (20.4 MB/s)
azure-arm: Fetched 14.4 MB in 0s (20.4 MB/s)
2017/10/03 13:50:15 ui: azure-arm: (Reading database ... 53962 files and directories currently installed.)
azure-arm: (Reading database ... 53962 files and directories currently installed.)
azure-arm: Preparing to unpack .../libpython3.5_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
2017/10/03 13:50:15 ui: azure-arm: Preparing to unpack .../libpython3.5_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
2017/10/03 13:50:15 ui: azure-arm: Unpacking libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
azure-arm: Unpacking libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
2017/10/03 13:50:16 ui: azure-arm: Preparing to unpack .../python3.5_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
azure-arm: Preparing to unpack .../python3.5_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
2017/10/03 13:50:16 ui: azure-arm: Unpacking python3.5 (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
azure-arm: Unpacking python3.5 (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
2017/10/03 13:50:17 ui: azure-arm: Preparing to unpack .../libpython3.5-stdlib_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
azure-arm: Preparing to unpack .../libpython3.5-stdlib_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
2017/10/03 13:50:17 ui: azure-arm: Unpacking libpython3.5-stdlib:amd64 (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
azure-arm: Unpacking libpython3.5-stdlib:amd64 (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
2017/10/03 13:50:18 ui: azure-arm: Preparing to unpack .../python3.5-minimal_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
azure-arm: Preparing to unpack .../python3.5-minimal_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
2017/10/03 13:50:18 ui: azure-arm: Unpacking python3.5-minimal (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
azure-arm: Unpacking python3.5-minimal (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
2017/10/03 13:50:18 ui: azure-arm: Preparing to unpack .../libpython3.5-minimal_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
azure-arm: Preparing to unpack .../libpython3.5-minimal_3.5.2-2ubuntu0~16.04.3_amd64.deb ...
2017/10/03 13:50:19 ui: azure-arm: Unpacking libpython3.5-minimal:amd64 (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
azure-arm: Unpacking libpython3.5-minimal:amd64 (3.5.2-2ubuntu0~16.04.3) over (3.5.2-2ubuntu0~16.04.2) ...
2017/10/03 13:50:19 ui: azure-arm: Preparing to unpack .../python-samba_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
azure-arm: Preparing to unpack .../python-samba_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
2017/10/03 13:50:20 ui: azure-arm: Unpacking python-samba (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
azure-arm: Unpacking python-samba (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
2017/10/03 13:50:21 ui: azure-arm: Preparing to unpack .../samba-common-bin_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
azure-arm: Preparing to unpack .../samba-common-bin_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
2017/10/03 13:50:21 ui: azure-arm: Unpacking samba-common-bin (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
azure-arm: Unpacking samba-common-bin (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
2017/10/03 13:50:21 ui: azure-arm: Preparing to unpack .../samba-libs_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
azure-arm: Preparing to unpack .../samba-libs_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
2017/10/03 13:50:21 ui: azure-arm: Unpacking samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
azure-arm: Unpacking samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
azure-arm: Preparing to unpack .../libwbclient0_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
2017/10/03 13:50:22 ui: azure-arm: Preparing to unpack .../libwbclient0_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_amd64.deb ...
azure-arm: Unpacking libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
2017/10/03 13:50:22 ui: azure-arm: Unpacking libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
azure-arm: Preparing to unpack .../samba-common_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_all.deb ...
2017/10/03 13:50:23 ui: azure-arm: Preparing to unpack .../samba-common_2%3a4.3.11+dfsg-0ubuntu0.16.04.11_all.deb ...
2017/10/03 13:50:23 ui: azure-arm: Unpacking samba-common (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
azure-arm: Unpacking samba-common (2:4.3.11+dfsg-0ubuntu0.16.04.11) over (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
2017/10/03 13:50:23 ui: azure-arm: Preparing to unpack .../libidn11_1.32-3ubuntu1.2_amd64.deb ...
azure-arm: Preparing to unpack .../libidn11_1.32-3ubuntu1.2_amd64.deb ...
2017/10/03 13:50:23 ui: azure-arm: Unpacking libidn11:amd64 (1.32-3ubuntu1.2) over (1.32-3ubuntu1.1) ...
azure-arm: Unpacking libidn11:amd64 (1.32-3ubuntu1.2) over (1.32-3ubuntu1.1) ...
2017/10/03 13:50:23 ui: azure-arm: Preparing to unpack .../ca-certificates_20170717~16.04.1_all.deb ...
azure-arm: Preparing to unpack .../ca-certificates_20170717~16.04.1_all.deb ...
2017/10/03 13:50:23 ui: azure-arm: Unpacking ca-certificates (20170717~16.04.1) over (20160104ubuntu1) ...
azure-arm: Unpacking ca-certificates (20170717~16.04.1) over (20160104ubuntu1) ...
azure-arm: Preparing to unpack .../libplymouth4_0.9.2-3ubuntu13.2_amd64.deb ...
2017/10/03 13:50:24 ui: azure-arm: Preparing to unpack .../libplymouth4_0.9.2-3ubuntu13.2_amd64.deb ...
2017/10/03 13:50:24 ui: azure-arm: Unpacking libplymouth4:amd64 (0.9.2-3ubuntu13.2) over (0.9.2-3ubuntu13.1) ...
azure-arm: Unpacking libplymouth4:amd64 (0.9.2-3ubuntu13.2) over (0.9.2-3ubuntu13.1) ...
2017/10/03 13:50:24 ui: azure-arm: Preparing to unpack .../plymouth_0.9.2-3ubuntu13.2_amd64.deb ...
azure-arm: Preparing to unpack .../plymouth_0.9.2-3ubuntu13.2_amd64.deb ...
2017/10/03 13:50:24 ui: azure-arm: Unpacking plymouth (0.9.2-3ubuntu13.2) over (0.9.2-3ubuntu13.1) ...
azure-arm: Unpacking plymouth (0.9.2-3ubuntu13.2) over (0.9.2-3ubuntu13.1) ...
2017/10/03 13:50:25 ui: azure-arm: Preparing to unpack .../plymouth-theme-ubuntu-text_0.9.2-3ubuntu13.2_amd64.deb ...
azure-arm: Preparing to unpack .../plymouth-theme-ubuntu-text_0.9.2-3ubuntu13.2_amd64.deb ...
2017/10/03 13:50:25 ui: azure-arm: Unpacking plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.2) over (0.9.2-3ubuntu13.1) ...
azure-arm: Unpacking plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.2) over (0.9.2-3ubuntu13.1) ...
2017/10/03 13:50:26 ui: azure-arm: Preparing to unpack .../dnsmasq-base_2.75-1ubuntu0.16.04.3_amd64.deb ...
azure-arm: Preparing to unpack .../dnsmasq-base_2.75-1ubuntu0.16.04.3_amd64.deb ...
2017/10/03 13:50:26 ui: azure-arm: Unpacking dnsmasq-base (2.75-1ubuntu0.16.04.3) over (2.75-1ubuntu0.16.04.2) ...
azure-arm: Unpacking dnsmasq-base (2.75-1ubuntu0.16.04.3) over (2.75-1ubuntu0.16.04.2) ...
2017/10/03 13:50:26 ui: azure-arm: Preparing to unpack .../mdadm_3.3-2ubuntu7.4_amd64.deb ...
azure-arm: Preparing to unpack .../mdadm_3.3-2ubuntu7.4_amd64.deb ...
2017/10/03 13:50:26 ui: azure-arm: Unpacking mdadm (3.3-2ubuntu7.4) over (3.3-2ubuntu7.2) ...
azure-arm: Unpacking mdadm (3.3-2ubuntu7.4) over (3.3-2ubuntu7.2) ...
2017/10/03 13:50:27 ui: azure-arm: Preparing to unpack .../unattended-upgrades_0.90ubuntu0.8_all.deb ...
azure-arm: Preparing to unpack .../unattended-upgrades_0.90ubuntu0.8_all.deb ...
2017/10/03 13:50:27 ui: azure-arm: Unpacking unattended-upgrades (0.90ubuntu0.8) over (0.90ubuntu0.7) ...
azure-arm: Unpacking unattended-upgrades (0.90ubuntu0.8) over (0.90ubuntu0.7) ...
2017/10/03 13:50:27 ui: azure-arm: Preparing to unpack .../xfsprogs_4.3.0+nmu1ubuntu1.1_amd64.deb ...
azure-arm: Preparing to unpack .../xfsprogs_4.3.0+nmu1ubuntu1.1_amd64.deb ...
2017/10/03 13:50:28 ui: azure-arm: Unpacking xfsprogs (4.3.0+nmu1ubuntu1.1) over (4.3.0+nmu1ubuntu1) ...
azure-arm: Unpacking xfsprogs (4.3.0+nmu1ubuntu1.1) over (4.3.0+nmu1ubuntu1) ...
2017/10/03 13:50:28 ui: azure-arm: Processing triggers for libc-bin (2.23-0ubuntu9) ...
azure-arm: Processing triggers for libc-bin (2.23-0ubuntu9) ...
azure-arm: Processing triggers for man-db (2.7.5-1) ...
2017/10/03 13:50:31 ui: azure-arm: Processing triggers for man-db (2.7.5-1) ...
2017/10/03 13:50:33 ui: azure-arm: Processing triggers for mime-support (3.59ubuntu1) ...
azure-arm: Processing triggers for mime-support (3.59ubuntu1) ...
2017/10/03 13:50:33 ui: azure-arm: Processing triggers for systemd (229-4ubuntu19) ...
azure-arm: Processing triggers for systemd (229-4ubuntu19) ...
2017/10/03 13:50:33 ui: azure-arm: Processing triggers for ureadahead (0.100.0-19) ...
azure-arm: Processing triggers for ureadahead (0.100.0-19) ...
2017/10/03 13:50:33 ui: azure-arm: Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
azure-arm: Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
azure-arm: Setting up libpython3.5-minimal:amd64 (3.5.2-2ubuntu0~16.04.3) ...
2017/10/03 13:50:34 ui: azure-arm: Setting up libpython3.5-minimal:amd64 (3.5.2-2ubuntu0~16.04.3) ...
2017/10/03 13:50:34 ui: azure-arm: Setting up libpython3.5-stdlib:amd64 (3.5.2-2ubuntu0~16.04.3) ...
azure-arm: Setting up libpython3.5-stdlib:amd64 (3.5.2-2ubuntu0~16.04.3) ...
2017/10/03 13:50:34 ui: azure-arm: Setting up libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.3) ...
azure-arm: Setting up libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.3) ...
2017/10/03 13:50:34 ui: azure-arm: Setting up python3.5-minimal (3.5.2-2ubuntu0~16.04.3) ...
azure-arm: Setting up python3.5-minimal (3.5.2-2ubuntu0~16.04.3) ...
2017/10/03 13:50:35 ui: azure-arm: Setting up python3.5 (3.5.2-2ubuntu0~16.04.3) ...
azure-arm: Setting up python3.5 (3.5.2-2ubuntu0~16.04.3) ...
2017/10/03 13:50:36 ui: azure-arm: Setting up libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
azure-arm: Setting up libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
2017/10/03 13:50:36 ui: azure-arm: Setting up samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
azure-arm: Setting up samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
2017/10/03 13:50:36 ui: azure-arm: Setting up python-samba (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
azure-arm: Setting up python-samba (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
2017/10/03 13:50:37 ui: azure-arm: Setting up samba-common (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
azure-arm: Setting up samba-common (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
2017/10/03 13:50:37 ui: azure-arm: debconf: unable to initialize frontend: Dialog
azure-arm: debconf: unable to initialize frontend: Dialog
2017/10/03 13:50:37 ui: azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2017/10/03 13:50:37 ui: azure-arm: debconf: falling back to frontend: Readline
azure-arm: debconf: falling back to frontend: Readline
2017/10/03 13:50:38 ui: azure-arm: Setting up samba-common-bin (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
azure-arm: Setting up samba-common-bin (2:4.3.11+dfsg-0ubuntu0.16.04.11) ...
2017/10/03 13:50:38 ui: azure-arm: Setting up libidn11:amd64 (1.32-3ubuntu1.2) ...
azure-arm: Setting up libidn11:amd64 (1.32-3ubuntu1.2) ...
2017/10/03 13:50:38 ui: azure-arm: Setting up ca-certificates (20170717~16.04.1) ...
azure-arm: Setting up ca-certificates (20170717~16.04.1) ...
2017/10/03 13:50:38 ui: azure-arm: debconf: unable to initialize frontend: Dialog
azure-arm: debconf: unable to initialize frontend: Dialog
2017/10/03 13:50:38 ui: azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2017/10/03 13:50:38 ui: azure-arm: debconf: falling back to frontend: Readline
azure-arm: debconf: falling back to frontend: Readline
2017/10/03 13:50:39 ui: azure-arm: Setting up libplymouth4:amd64 (0.9.2-3ubuntu13.2) ...
azure-arm: Setting up libplymouth4:amd64 (0.9.2-3ubuntu13.2) ...
2017/10/03 13:50:40 ui: azure-arm: Setting up plymouth (0.9.2-3ubuntu13.2) ...
azure-arm: Setting up plymouth (0.9.2-3ubuntu13.2) ...
2017/10/03 13:50:40 ui: azure-arm: update-initramfs: deferring update (trigger activated)
azure-arm: update-initramfs: deferring update (trigger activated)
2017/10/03 13:50:40 ui: azure-arm: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
azure-arm: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
2017/10/03 13:50:40 ui: azure-arm: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
azure-arm: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
2017/10/03 13:50:40 ui: azure-arm: Setting up plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.2) ...
azure-arm: Setting up plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.2) ...
2017/10/03 13:50:40 ui: azure-arm: update-initramfs: deferring update (trigger activated)
azure-arm: update-initramfs: deferring update (trigger activated)
2017/10/03 13:50:42 ui: azure-arm: Setting up dnsmasq-base (2.75-1ubuntu0.16.04.3) ...
azure-arm: Setting up dnsmasq-base (2.75-1ubuntu0.16.04.3) ...
2017/10/03 13:50:42 ui: azure-arm: Setting up mdadm (3.3-2ubuntu7.4) ...
azure-arm: Setting up mdadm (3.3-2ubuntu7.4) ...
2017/10/03 13:50:42 ui: azure-arm: debconf: unable to initialize frontend: Dialog
azure-arm: debconf: unable to initialize frontend: Dialog
2017/10/03 13:50:42 ui: azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2017/10/03 13:50:42 ui: azure-arm: debconf: falling back to frontend: Readline
azure-arm: debconf: falling back to frontend: Readline
2017/10/03 13:50:43 ui: azure-arm: update-initramfs: deferring update (trigger activated)
azure-arm: update-initramfs: deferring update (trigger activated)
2017/10/03 13:50:43 ui: azure-arm: Generating grub configuration file ...
azure-arm: Generating grub configuration file ...
2017/10/03 13:50:43 ui: azure-arm: Found linux image: /boot/vmlinuz-4.11.0-1011-azure
azure-arm: Found linux image: /boot/vmlinuz-4.11.0-1011-azure
2017/10/03 13:50:43 ui: azure-arm: Found initrd image: /boot/initrd.img-4.11.0-1011-azure
azure-arm: Found initrd image: /boot/initrd.img-4.11.0-1011-azure
2017/10/03 13:50:43 ui: azure-arm: File descriptor 3 (pipe:[37288]) leaked on lvs invocation. Parent PID 7739: /bin/sh
azure-arm: File descriptor 3 (pipe:[37288]) leaked on lvs invocation. Parent PID 7739: /bin/sh
azure-arm: done
2017/10/03 13:50:44 ui: azure-arm: done
2017/10/03 13:50:44 ui: azure-arm: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
azure-arm: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
2017/10/03 13:50:44 ui: azure-arm: Setting up unattended-upgrades (0.90ubuntu0.8) ...
azure-arm: Setting up unattended-upgrades (0.90ubuntu0.8) ...
2017/10/03 13:50:44 ui: azure-arm: debconf: unable to initialize frontend: Dialog
azure-arm: debconf: unable to initialize frontend: Dialog
2017/10/03 13:50:44 ui: azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
azure-arm: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
2017/10/03 13:50:44 ui: azure-arm: debconf: falling back to frontend: Readline
azure-arm: debconf: falling back to frontend: Readline
2017/10/03 13:50:45 ui: azure-arm: Setting up xfsprogs (4.3.0+nmu1ubuntu1.1) ...
azure-arm: Setting up xfsprogs (4.3.0+nmu1ubuntu1.1) ...
2017/10/03 13:50:45 ui: azure-arm: update-initramfs: deferring update (trigger activated)
azure-arm: update-initramfs: deferring update (trigger activated)
2017/10/03 13:50:45 ui: azure-arm: Processing triggers for libc-bin (2.23-0ubuntu9) ...
azure-arm: Processing triggers for libc-bin (2.23-0ubuntu9) ...
2017/10/03 13:50:45 ui: azure-arm: Processing triggers for ca-certificates (20170717~16.04.1) ...
azure-arm: Processing triggers for ca-certificates (20170717~16.04.1) ...
2017/10/03 13:50:45 ui: azure-arm: Updating certificates in /etc/ssl/certs...
azure-arm: Updating certificates in /etc/ssl/certs...
azure-arm: 17 added, 42 removed; done.
2017/10/03 13:50:49 ui: azure-arm: 17 added, 42 removed; done.
2017/10/03 13:50:49 ui: azure-arm: Running hooks in /etc/ca-certificates/update.d...
azure-arm: Running hooks in /etc/ca-certificates/update.d...
azure-arm: done.
2017/10/03 13:50:49 ui: azure-arm: done.
2017/10/03 13:50:49 ui: azure-arm: Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
azure-arm: Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
2017/10/03 13:50:49 ui: azure-arm: update-initramfs: Generating /boot/initrd.img-4.11.0-1011-azure
azure-arm: update-initramfs: Generating /boot/initrd.img-4.11.0-1011-azure
2017/10/03 13:50:52 ui: azure-arm: W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
azure-arm: W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
azure-arm: WARNING! The waagent service will be stopped.
azure-arm: WARNING! Cached DHCP leases will be deleted.
azure-arm: WARNING! root password will be disabled. You will not be able to login as root.
azure-arm: WARNING! /etc/resolvconf/resolv.conf.d/tail and /etc/resolvconf/resolv.conf.d/original will be deleted.
azure-arm: WARNING! packer account and entire home directory will be deleted.
2017/10/03 13:50:58 ui: azure-arm: WARNING! The waagent service will be stopped.
2017/10/03 13:50:58 ui: azure-arm: WARNING! Cached DHCP leases will be deleted.
2017/10/03 13:50:58 ui: azure-arm: WARNING! root password will be disabled. You will not be able to login as root.
2017/10/03 13:50:58 ui: azure-arm: WARNING! /etc/resolvconf/resolv.conf.d/tail and /etc/resolvconf/resolv.conf.d/original will be deleted.
2017/10/03 13:50:58 ui: azure-arm: WARNING! packer account and entire home directory will be deleted.
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 [INFO] RPC endpoint: Communicator ended with: 0
2017/10/03 13:50:59 [INFO] 12985 bytes written for 'stdout'
2017/10/03 13:50:59 [INFO] 401 bytes written for 'stderr'
2017/10/03 13:50:59 [INFO] RPC client: Communicator ended with: 0
2017/10/03 13:50:59 [INFO] RPC endpoint: Communicator ended with: 0
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 [INFO] 12985 bytes written for 'stdout'
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 [INFO] 401 bytes written for 'stderr'
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 [INFO] RPC client: Communicator ended with: 0
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 opening new ssh session
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 starting remote command: rm -f /tmp/script_7863.sh
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 [INFO] RPC endpoint: Communicator ended with: 0
2017/10/03 13:50:59 [INFO] RPC client: Communicator ended with: 0
2017/10/03 13:50:59 [INFO] RPC endpoint: Communicator ended with: 0
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 [INFO] RPC client: Communicator ended with: 0
2017/10/03 13:50:59 [INFO] (telemetry) ending shell
==> azure-arm: Querying the machine's properties ...
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
==> azure-arm: -> ComputeName : 'pkrvmq2qyrc4ly6'
2017/10/03 13:50:59 ui: ==> azure-arm: Querying the machine's properties ...
2017/10/03 13:50:59 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:50:59 ui: ==> azure-arm: -> ComputeName : 'pkrvmq2qyrc4ly6'
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 Azure request request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6?api-version=2016-04-30-preview" body="" method="GET"
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6?api-version=2016-04-30-preview" x-ms-request-id="e445309a-5f50-41cd-80ed-93832d6072aa" body="{\r\n \"properties\": {\r\n \"vmId\": \"be88a045-49b2-4190-a714-4eba89666efa\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS2_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"16.04-LTS\",\r\n \"version\": \"latest\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\",\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/disks/osdisk\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"pkrvmq2qyrc4ly6\",\r\n \"adminUsername\": \"packer\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/packer/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClG9TYZtShaYzXcEiOhsc3bLUdRTEbUVfxtkYv4LSdnG8rMqdNUViHvKqd/0adNLCTdslJ5q4NR4z0QPsjG5lgY4A2m48amHjAH5Garzd4/6mMbYPy/iDpMVeLFwFMZSaiFCL1hYPHNG2fZFsRRVYFHF1KvhN7KbFHJlzBC1EkvB1JX713xYxaD7v/sFQtfiH/6sRWreK/uGR9Rbu09fRXzYMfAA9KtUTSz8uGEF35YDvK1Po9xeo9Yv3PZt7UbgFxaWV01jKiNYxfuDuIy5DxpCZlL9mSDtvjRQnA2qPsBoQKe/7IQmCmYhDPPG7xT0GSZwzcXbSpT3VPmtkkqKhX packer Azure Deployment2017-10-03T13:46:50+03:00\"\r\n }\r\n ]\r\n }\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\"}]},\r\n \"diagnosticsProfile\": {\r\n \"bootDiagnostics\": {\r\n \"enabled\": false\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {\r\n \"dept\": \"engineering\",\r\n \"task\": \"image deployment\"\r\n },\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\",\r\n \"name\": \"pkrvmq2qyrc4ly6\"\r\n}"
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6?api-version=2016-04-30-preview" x-ms-request-id="e445309a-5f50-41cd-80ed-93832d6072aa" body="{\r\n \"properties\": {\r\n \"vmId\": \"be88a045-49b2-4190-a714-4eba89666efa\",\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS2_v2\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"16.04-LTS\",\r\n \"version\": \"latest\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\",\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/disks/osdisk\"\r\n },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"pkrvmq2qyrc4ly6\",\r\n \"adminUsername\": \"packer\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/packer/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClG9TYZtShaYzXcEiOhsc3bLUdRTEbUVfxtkYv4LSdnG8rMqdNUViHvKqd/0adNLCTdslJ5q4NR4z0QPsjG5lgY4A2m48amHjAH5Garzd4/6mMbYPy/iDpMVeLFwFMZSaiFCL1hYPHNG2fZFsRRVYFHF1KvhN7KbFHJlzBC1EkvB1JX713xYxaD7v/sFQtfiH/6sRWreK/uGR9Rbu09fRXzYMfAA9KtUTSz8uGEF35YDvK1Po9xeo9Yv3PZt7UbgFxaWV01jKiNYxfuDuIy5DxpCZlL9mSDtvjRQnA2qPsBoQKe/7IQmCmYhDPPG7xT0GSZwzcXbSpT3VPmtkkqKhX packer Azure Deployment2017-10-03T13:46:50+03:00\"\r\n }\r\n ]\r\n }\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Network/networkInterfaces/packerNic\"}]},\r\n \"diagnosticsProfile\": {\r\n \"bootDiagnostics\": {\r\n \"enabled\": false\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {\r\n \"dept\": \"engineering\",\r\n \"task\": \"image deployment\"\r\n },\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\",\r\n \"name\": \"pkrvmq2qyrc4ly6\"\r\n}"
2017/10/03 13:50:59 ui: ==> azure-arm: -> Managed OS Disk : '/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/disks/osdisk'
2017/10/03 13:50:59 ui: ==> azure-arm: Powering off machine ...
==> azure-arm: -> Managed OS Disk : '/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/disks/osdisk'
2017/10/03 13:50:59 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
==> azure-arm: Powering off machine ...
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:50:59 ui: ==> azure-arm: -> ComputeName : 'pkrvmq2qyrc4ly6'
==> azure-arm: -> ComputeName : 'pkrvmq2qyrc4ly6'
2017/10/03 13:50:59 packer: 2017/10/03 13:50:59 Azure request method="POST" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6/powerOff?api-version=2016-04-30-preview" body=""
2017/10/03 13:51:00 packer: 2017/10/03 13:51:00 Azure response method="POST" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6/powerOff?api-version=2016-04-30-preview" x-ms-request-id="51d109f3-e2c5-4ac9-8840-4a38950ba2d2" body="" status="202 Accepted"
2017/10/03 13:52:00 packer: 2017/10/03 13:52:00 Azure request request="https://management.azure.com/subscriptions/xxx/providers/Microsoft.Compute/locations/northeurope/operations/51d109f3-e2c5-4ac9-8840-4a38950ba2d2?api-version=2016-04-30-preview" body="" method="GET"
2017/10/03 13:52:00 packer: 2017/10/03 13:52:00 Azure response method="GET" request="https://management.azure.com/subscriptions/xxx/providers/Microsoft.Compute/locations/northeurope/operations/51d109f3-e2c5-4ac9-8840-4a38950ba2d2?api-version=2016-04-30-preview" x-ms-request-id="d5c9dc87-7404-44c5-ba75-264b26a366b9" body="{\r\n \"startTime\": \"2017-10-03T10:50:59.6664687+00:00\",\r\n \"endTime\": \"2017-10-03T10:51:13.7607799+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"51d109f3-e2c5-4ac9-8840-4a38950ba2d2\"\r\n}" status="200 OK"
2017/10/03 13:52:00 packer: 2017/10/03 13:52:00 Azure response x-ms-request-id="d5c9dc87-7404-44c5-ba75-264b26a366b9" body="{\r\n \"startTime\": \"2017-10-03T10:50:59.6664687+00:00\",\r\n \"endTime\": \"2017-10-03T10:51:13.7607799+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"51d109f3-e2c5-4ac9-8840-4a38950ba2d2\"\r\n}" status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/providers/Microsoft.Compute/locations/northeurope/operations/51d109f3-e2c5-4ac9-8840-4a38950ba2d2?api-version=2016-04-30-preview"
2017/10/03 13:52:00 ui: ==> azure-arm: Capturing image ...
==> azure-arm: Capturing image ...
2017/10/03 13:52:00 ui: ==> azure-arm: -> Compute ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:52:00 ui: ==> azure-arm: -> Compute Name : 'pkrvmq2qyrc4ly6'
==> azure-arm: -> Compute ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
==> azure-arm: -> Compute Name : 'pkrvmq2qyrc4ly6'
2017/10/03 13:52:00 ui: ==> azure-arm: -> Compute Location : 'North Europe'
==> azure-arm: -> Compute Location : 'North Europe'
2017/10/03 13:52:00 packer: 2017/10/03 13:52:00 Azure request method="POST" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6/generalize?api-version=2016-04-30-preview" body=""
2017/10/03 13:52:00 packer: 2017/10/03 13:52:00 Azure response status="200 OK" method="POST" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6/generalize?api-version=2016-04-30-preview" x-ms-request-id="6866657d-167c-479c-961d-632d62c8ce3c" body=""
2017/10/03 13:52:00 packer: 2017/10/03 13:52:00 Azure response x-ms-request-id="6866657d-167c-479c-961d-632d62c8ce3c" body="" status="200 OK" method="POST" request="https://management.azure.com/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6/generalize?api-version=2016-04-30-preview"
2017/10/03 13:52:00 ui: ==> azure-arm: -> Image ResourceGroupName : 'playground3'
==> azure-arm: -> Image ResourceGroupName : 'playground3'
2017/10/03 13:52:00 ui: ==> azure-arm: -> Image Name : 'ExampleImage1'
==> azure-arm: -> Image Name : 'ExampleImage1'
2017/10/03 13:52:00 ui: ==> azure-arm: -> Image Location : 'northeurope'
==> azure-arm: -> Image Location : 'northeurope'
2017/10/03 13:52:00 packer: 2017/10/03 13:52:00 Azure request request="https://management.azure.com/subscriptions/xxx/resourceGroups/playground3/providers/Microsoft.Compute/images/ExampleImage1?api-version=2016-04-30-preview" body="{\"location\":\"North Europe\",\"tags\":{\"dept\":\"engineering\",\"task\":\"image deployment\"},\"properties\":{\"sourceVirtualMachine\":{\"id\":\"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\"}}}" method="PUT"
2017/10/03 13:52:01 packer: 2017/10/03 13:52:01 Azure response status="201 Created" method="PUT" request="https://management.azure.com/subscriptions/xxx/resourceGroups/playground3/providers/Microsoft.Compute/images/ExampleImage1?api-version=2016-04-30-preview" x-ms-request-id="e42e6cf9-d305-467b-9349-9890c9ddd33d" body="{\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/virtualMachines/pkrvmq2qyrc4ly6\"\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/xxx/resourceGroups/packer-Resource-Group-q2qyrc4ly6/providers/Microsoft.Compute/disks/osdisk\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Creating\"\r\n },\r\n \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {\r\n \"dept\": \"engineering\",\r\n \"task\": \"image deployment\"\r\n },\r\n \"id\": \"/subscriptions/xxx/resourceGroups/playground3/providers/Microsoft.Compute/images/ExampleImage1\",\r\n \"name\": \"ExampleImage1\"\r\n}"
2017/10/03 13:53:01 packer: 2017/10/03 13:53:01 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/providers/Microsoft.Compute/locations/northeurope/operations/e42e6cf9-d305-467b-9349-9890c9ddd33d?api-version=2016-04-30-preview" body=""
2017/10/03 13:53:02 packer: 2017/10/03 13:53:02 Azure response x-ms-request-id="0f17a836-4bfe-4071-a40a-ad8d1f9369ba" body="{\r\n \"startTime\": \"2017-10-03T10:52:01.0123245+00:00\",\r\n \"endTime\": \"2017-10-03T10:52:06.1219098+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"e42e6cf9-d305-467b-9349-9890c9ddd33d\"\r\n}" status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/providers/Microsoft.Compute/locations/northeurope/operations/e42e6cf9-d305-467b-9349-9890c9ddd33d?api-version=2016-04-30-preview"
2017/10/03 13:53:02 packer: 2017/10/03 13:53:02 Azure response body="{\r\n \"startTime\": \"2017-10-03T10:52:01.0123245+00:00\",\r\n \"endTime\": \"2017-10-03T10:52:06.1219098+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"e42e6cf9-d305-467b-9349-9890c9ddd33d\"\r\n}" status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/providers/Microsoft.Compute/locations/northeurope/operations/e42e6cf9-d305-467b-9349-9890c9ddd33d?api-version=2016-04-30-preview" x-ms-request-id="0f17a836-4bfe-4071-a40a-ad8d1f9369ba"
2017/10/03 13:53:02 ui: ==> azure-arm: Deleting resource group ...
==> azure-arm: Deleting resource group ...
2017/10/03 13:53:02 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-q2qyrc4ly6'
2017/10/03 13:53:02 packer: 2017/10/03 13:53:02 Azure request method="DELETE" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6?api-version=2016-09-01" body=""
2017/10/03 13:53:02 packer: 2017/10/03 13:53:02 Azure response status="202 Accepted" method="DELETE" request="https://management.azure.com/subscriptions/xxx/resourcegroups/packer-Resource-Group-q2qyrc4ly6?api-version=2016-09-01" x-ms-request-id="592078a8-f161-40d7-a450-2d34f1bd8d87" body=""
2017/10/03 13:53:17 packer: 2017/10/03 13:53:17 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:53:17 packer: 2017/10/03 13:53:17 Azure response method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="bc95bacc-b0cd-40ce-8ebf-c979ec39644d" body="" status="202 Accepted"
2017/10/03 13:53:32 packer: 2017/10/03 13:53:32 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:53:33 packer: 2017/10/03 13:53:33 Azure response method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="1e91222c-0a3f-4d8a-9cd2-af073c9933c6" body="" status="202 Accepted"
2017/10/03 13:53:48 packer: 2017/10/03 13:53:48 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:53:48 packer: 2017/10/03 13:53:48 Azure response method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="a191e8c8-f1c6-4e48-a5c9-97f7feac1105" body="" status="202 Accepted"
2017/10/03 13:54:03 packer: 2017/10/03 13:54:03 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:54:03 packer: 2017/10/03 13:54:03 Azure response request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="03abf111-05a1-4140-9e44-273208d60754" body="" status="202 Accepted" method="GET"
2017/10/03 13:54:18 packer: 2017/10/03 13:54:18 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:54:18 packer: 2017/10/03 13:54:18 Azure response request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="1664646c-192d-4b38-a469-042d26a05578" body="" status="202 Accepted" method="GET"
2017/10/03 13:54:33 packer: 2017/10/03 13:54:33 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:54:33 packer: 2017/10/03 13:54:33 Azure response request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="bf350b64-df2f-47bc-acd0-992f5bc67dcc" body="" status="202 Accepted" method="GET"
2017/10/03 13:54:48 packer: 2017/10/03 13:54:48 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:54:48 packer: 2017/10/03 13:54:48 Azure response method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="ed52bea7-f924-4f07-bf5a-36cae0d116e2" body="" status="202 Accepted"
2017/10/03 13:55:03 packer: 2017/10/03 13:55:03 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:55:04 packer: 2017/10/03 13:55:04 Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="03e97e52-7b90-4416-979a-42ee5a92b076" body=""
2017/10/03 13:55:19 packer: 2017/10/03 13:55:19 Azure request request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body="" method="GET"
2017/10/03 13:55:19 packer: 2017/10/03 13:55:19 Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="a730d2af-a834-4de8-8781-8a2103f184dc" body=""
2017/10/03 13:55:34 packer: 2017/10/03 13:55:34 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:55:34 packer: 2017/10/03 13:55:34 Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="9fb6918b-f5e7-4334-abe1-39969cbcc239" body=""
2017/10/03 13:55:49 packer: 2017/10/03 13:55:49 Azure request request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body="" method="GET"
2017/10/03 13:55:49 packer: 2017/10/03 13:55:49 Azure response x-ms-request-id="850a3dcd-1607-4f24-91d0-9488ee9acdf2" body="" status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01"
2017/10/03 13:56:04 packer: 2017/10/03 13:56:04 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:56:05 packer: 2017/10/03 13:56:05 Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="7d3b50da-f72f-44ed-bbb1-be5a330fada6" body=""
2017/10/03 13:56:20 packer: 2017/10/03 13:56:20 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:56:20 packer: 2017/10/03 13:56:20 Azure response request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="83390a0a-a2e4-49dd-be7e-6a219d65c3bf" body="" status="202 Accepted" method="GET"
2017/10/03 13:56:35 packer: 2017/10/03 13:56:35 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:56:35 packer: 2017/10/03 13:56:35 Azure response request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="1429d1f4-7ae7-44e0-9b21-4700fab9259f" body="" status="202 Accepted" method="GET"
2017/10/03 13:56:50 packer: 2017/10/03 13:56:50 Azure request body="" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01"
2017/10/03 13:56:50 packer: 2017/10/03 13:56:50 Azure response body="" status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="fc24efbc-61c4-4a88-9ddd-122926cb6f1b"
2017/10/03 13:57:05 packer: 2017/10/03 13:57:05 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:57:05 packer: 2017/10/03 13:57:05 Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="f4e7a571-e95e-48b4-8c3b-ead53cc830c2" body=""
2017/10/03 13:57:20 packer: 2017/10/03 13:57:20 Azure request method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" body=""
2017/10/03 13:57:20 packer: 2017/10/03 13:57:20 Azure response status="202 Accepted" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" x-ms-request-id="8403f5f0-fa05-4db6-a4f6-3db1fad9f52d" body=""
2017/10/03 13:57:35 packer: 2017/10/03 13:57:35 Azure request body="" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01"
2017/10/03 13:57:36 packer: 2017/10/03 13:57:36 Azure response x-ms-request-id="4a813a95-006f-48b5-894b-28cb4d63c2ee" body="" status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01"
2017/10/03 13:57:36 packer: 2017/10/03 13:57:36 Azure response x-ms-request-id="4a813a95-006f-48b5-894b-28cb4d63c2ee" body="" status="200 OK" method="GET" request="https://management.azure.com/subscriptions/xxx/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQUNLRVI6MkRSRVNPVVJDRToyREdST1VQOjJEUTJRWVJDNExZNi1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01"
2017/10/03 13:57:36 ui: ==> azure-arm: Deleting the temporary OS disk ...
==> azure-arm: Deleting the temporary OS disk ...
2017/10/03 13:57:36 ui: ==> azure-arm: -> OS Disk : skipping, managed disk was used...
==> azure-arm: -> OS Disk : skipping, managed disk was used...
2017/10/03 13:57:36 [INFO] (telemetry) ending azure-arm
2017/10/03 13:57:36 ui: Build 'azure-arm' finished.
2017/10/03 13:57:36 Builds completed. Waiting on interrupt barrier...
2017/10/03 13:57:36 ui:
==> Builds finished. The artifacts of successful builds are:
Build 'azure-arm' finished.
==> Builds finished. The artifacts of successful builds are:
2017/10/03 13:57:36 machine readable: azure-arm,artifact-count []string{"1"}
2017/10/03 13:57:36 machine readable: azure-arm,artifact []string{"0", "builder-id", "Azure.ResourceManagement.VMImage"}
2017/10/03 13:57:36 machine readable: azure-arm,artifact []string{"0", "id", ""}
2017/10/03 13:57:36 machine readable: azure-arm,artifact []string{"0", "string", "Azure.ResourceManagement.VMImage:\n\nManagedImageResourceGroupName: playground3\nManagedImageName: ExampleImage1\nManagedImageLocation: northeurope\n"}
2017/10/03 13:57:36 machine readable: azure-arm,artifact []string{"0", "files-count", "0"}
2017/10/03 13:57:36 machine readable: azure-arm,artifact []string{"0", "end"}
2017/10/03 13:57:36 ui: --> azure-arm: Azure.ResourceManagement.VMImage:
ManagedImageResourceGroupName: playground3
ManagedImageName: ExampleImage1
ManagedImageLocation: northeurope
--> azure-arm: Azure.ResourceManagement.VMImage:
ManagedImageResourceGroupName: playground3
ManagedImageName: ExampleImage1
ManagedImageLocation: northeurope
2017/10/03 13:57:36 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Post https://checkpoint-api.hashicorp.com/v1/telemetry/packer: context deadline exceeded
2017/10/03 13:57:36 waiting for all plugin processes to complete...
2017/10/03 13:57:36 /usr/local/bin/packer: plugin process exited
2017/10/03 13:57:36 /usr/local/bin/packer: plugin process exited
{
"variables": {
"client_id": "{{env `ARM_CLIENT_ID`}}",
"client_secret": "{{env `ARM_CLIENT_SECRET`}}",
"subscription_id": "{{env `ARM_SUBSCRIPTION_ID`}}",
"location": "",
"managed_image_resource_group_name": "",
"managed_image_name": ""
},
"builders": [{
"type": "azure-arm",
"client_id": "{{user `client_id`}}",
"client_secret": "{{user `client_secret`}}",
"subscription_id": "{{user `subscription_id`}}",
"location": "{{user `location`}}",
"managed_image_resource_group_name": "{{user `managed_image_resource_group_name`}}",
"managed_image_name": "{{user `managed_image_name`}}",
"os_type": "Linux",
"image_publisher": "Canonical",
"image_offer": "UbuntuServer",
"image_sku": "16.04-LTS",
"azure_tags": {
"dept": "engineering",
"task": "image deployment"
},
"vm_size": "Standard_DS2_v2"
}],
"provisioners": [{
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} sudo -E sh '{{ .Path }}'",
"inline": [
"apt-get update",
"apt-get upgrade -y",
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync"
],
"inline_shebang": "/bin/sh -x",
"type": "shell"
}]
}
$ az vm create \
--name e1 \
--resource-group playground3 \
--image ExampleImage \
--admin-username sg-test \
--ssh-key-value "xxx"
{
"fqdns": "",
"id": "/subscriptions/xxx/resourceGroups/playground3/providers/Microsoft.Compute/virtualMachines/e1",
"location": "northeurope",
"macAddress": "xx-xx-xx-xx-xx-xx",
"powerState": "VM running",
"privateIpAddress": "xx.xx.xx.xx",
"publicIpAddress": "xx.xx.xx.xx",
"resourceGroup": "playground3",
"zones": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment