Thanks for the reply. I've aleady checked that. It is not the issue. Also added ls check: ```
ls: cannot access /etc/udev/rules.d/70-persistent-net.rules: No such file or directory ``` On Saturday, January 13, 2018 at 9:40:18 AM UTC+2, [email protected] wrote: > > > - Packer v1.1.3 > - Azure > > When building with Azure images it works: > > { > "type": "azure-arm", > > "client_id": "{{user `azure_client_id`}}", > "client_secret": "{{user `azure_client_secret`}}", > "subscription_id": "{{user `azure_subscription_id`}}", > > "managed_image_resource_group_name": "production-eastus", > "managed_image_name": "{{user `stack`}}-{{user `image_tag`}}", > > "os_type": "Linux", > "image_publisher": "OpenLogic", > "image_offer": "CentOS", > "image_sku": "6.9", > > "azure_tags": { > "OS_Version": "Centos", > "Release": "Latest", > "Version": "{{user `version`}}", > "Created": "{{isotime}}", > "Vendor": "{{user `vendor`}}", > "Vendor_Url": "{{user `vendor_url`}}", > "Product": "{{user `product`}}", > "Stack": "{{user `stack`}}", > "Commit_ID": "{{user `commit_id`}}" > }, > > "location": "East US", > "vm_size": "Standard_A2" > } > > I'm using the created artifact(managed_image_name) from above build and > running it to *build* new image: > > *base-2018-01-09-1515504716- is the artifact created with first build:* > > { > "type": "azure-arm", > > "client_id": "{{user `azure_client_id`}}", > "client_secret": "{{user `azure_client_secret`}}", > "subscription_id": "{{user `azure_subscription_id`}}", > > "managed_image_resource_group_name": "production-eastus", > "managed_image_name": "{{user `stack`}}-{{user `image_tag`}}", > "os_type": "Linux", > "custom_managed_image_name": "base-2018-01-09-1515504716", > "custom_managed_image_resource_group_name": "production-eastus", > > "azure_tags": { > "OS_Version": "Centos", > "Release": "Latest", > "Version": "{{user `version`}}", > "Created": "{{isotime}}", > "Vendor": "{{user `vendor`}}", > "Vendor_Url": "{{user `vendor_url`}}", > "Product": "{{user `product`}}", > "Stack": "{{user `stack`}}", > "Commit_ID": "{{user `commit_id`}}" > }, > > "location": "East US", > "vm_size": "Standard_A2" > } > > I get this error: > > ==> azure-arm: Error waiting for SSH: ssh: handshake failed: ssh: unable to > authenticate, attempted methods [none publickey], no supported methods remain > > Running in debug mode: > > packer: [INFO] Attempting SSH connection... > packer: reconnecting to TCP connection for SSH > packer: handshaking with SSH > packer: handshake error: ssh: handshake failed: ssh: unable to authenticate, > attempted methods [none publickey], no supported methods remain > packer: [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to > authenticate, attempted methods [none publickey], no supported methods remain > packer: [DEBUG] Detected authentication error. Increasing handshake attempts. > packer: [INFO] Attempting SSH connection... > > Please assist. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/af447796-0565-4e2c-b9c0-7d4d528c1864%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
