You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
2023/06/16 19:43:45 GCEMetadataScripts: sysprep-specialize-script-cmd: The user or group account specified cannot be found.
2023/06/16 19:43:45 GCEMetadataScripts: sysprep-specialize-script-cmd: The user was successfully created but could not be added
2023/06/16 19:43:45 GCEMetadataScripts: sysprep-specialize-script-cmd: to the USERS local group.
2023/06/16 19:47:45 GCEMetadataScripts: sysprep-specialize-script-cmd: New-NetFirewallRule : Cannot create a file when that file already exists.
2023/06/16 19:47:45 GCEMetadataScripts: sysprep-specialize-script-cmd: At line:1 char:1
2023/06/16 19:47:45 GCEMetadataScripts: sysprep-specialize-script-cmd: + New-NetFirewallRule -Name 'OpenSSH-Server-In-TCP' -DisplayName 'OpenS ...
2023/06/16 19:47:45 GCEMetadataScripts: sysprep-specialize-script-cmd: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023/06/16 19:47:45 GCEMetadataScripts: sysprep-specialize-script-cmd: + CategoryInfo : ResourceExists: (MSFT_NetFirewallRule:root/st
2023/06/16 19:47:45 GCEMetadataScripts: sysprep-specialize-script-cmd: andardcimv2/MSFT_NetFirewallRule) [New-NetFirewallRule], CimException
2023/06/16 19:47:45 GCEMetadataScripts: sysprep-specialize-script-cmd: + FullyQualifiedErrorId : Windows System Error 183,New-NetFirewallRule
The text was updated successfully, but these errors were encountered:
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: