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
For the packer-built stemcells install OpenSSH as part of VM setup, not
WinRM because executing `Add-WindowsCapability` via WinRM does not
appear to be allowed. So instead move the installation of OpenSSH.Server
to the various IaaS pre-boot scrips which are not executed via WinRM.
The installations of OpenSSSH.Server happens as follows:
- Azure: add a `custom_script` parameter to packer config
- AWS: added to `setup_winrm.txt`
- GCP: add to `setup-winrm.ps1` and use `sysprep-specialize-script-ps1`
- vSphere: TODO
[1] https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
0 commit comments