-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows over WinSSH with ansible provisioner #172
Comments
Currently, i am experiencing the same issue with packer |
The latest Google Windows base images come with openSSH by default. Just need to enable at runtime. https://cloud.google.com/compute/docs/connect/windows-ssh Just include this in the Packer template file: metadata = { Set SSH communicators as normal https://developer.hashicorp.com/packer/docs/communicators/ssh Bear in mind it's still in preview though. |
Overview of the Issue
sysprep commands from documentation to enable SSH not working.
Reproduction Steps
followed the documentation from https://developer.hashicorp.com/packer/plugins/builders/googlecompute#windows-over-winssh-ansible-provisioner
using GCP windows image windows-server-2019-dc-v20230510
Plugin and Packer version
packer version 1.9.1
Simplified Packer Buildfile
buildfile is the same as the documentation
The text was updated successfully, but these errors were encountered: