Hi all, I'm trying to see if it's possible to use packer to create an Azure
Windows VM but use SSH instead of WinRM to connect to the VM?
Are these all the ssh settings I need or am I missing something?
"communicator": "ssh",
"ssh_agent_auth": "true",
"ssh_timeout": "5m",
"ssh_username": "packer",
"ssh_password": "<password>",
Currently i'm getting this error and I have no idea what setting i'm
missing.
https://www.packer.io/docs/templates/communicator.html
I'm getting the following error when I use try build my image:
==> Some builds didn't complete successfully and had errors:
--> azure-arm: Code="DeploymentFailed" Message="At least one resource
deployment operation failed. Please list deployment operations for details.
Please see https://aka.ms/arm-debug for usage details."
Details=[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n
\"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n
\"message\": \"The resource operation completed with terminal provisioning
state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\":
\"CertificateImproperlyFormatted\",\r\n \"message\": \"The secret
retrieved from
https:/<keyvaultName>.vault.azure.net/secrets/packerKeyVaultSecret/<GUID>"
is empty string.\"\r\n }\r\n ]\r\n }\r\n}"}]
If anyone has had success with this it would be wonderful :)
Cheers
--
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/48bdb71e-4b50-48ba-a76a-db928bdf6e11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.