Hello there,

Were you able to resolve this error? Have you been able to build windows 
vms on azure using ssh?

Thanks,
Kiran Hegde

On Monday, June 17, 2019 at 9:49:56 AM UTC+5:30, Rolz64 wrote:
>
> 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/hashicorp/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/54f47e80-05e6-41b4-901a-30ea2a55e231o%40googlegroups.com.

Reply via email to