Closed Rick-McClatchie closed 3 years ago
Ay,
Would be great to have this feature ! I'm selling Windows VPS to my customers and actually I'm managing images manually. Using Packer to build my Windows images would be a good move ! Great idea !
I'd be interested in this as well. As a more general approach it would be useful to be able to create images from an ISO image with a boot_command
. This could be applied to other OSs that are not yet available as cloud images as well.
Looking through the sources it seems to me that WinRM connections are already possible with the hcloud
builder. So being able to create snapshots from ISOs may be a viable workaround to create a Windows Server build until Hetzner offers an official Windows image.
Should this ticket be moved to https://github.com/hashicorp/packer-plugin-hcloud ? @SwampDragons ?
Actually maybe it should just be closed as impossible ? In the Hetzener cloud console, the only available images are Linux. Quoting https://docs.hetzner.com/cloud/servers/windows-on-cloud:
Q: Is it possible to install Windows with my own license? A:Yes, but it must be done manually. For this, the CD/DVD images can be used.
There is no API exposed. It is technically impossible.
(I do not represent Hetzener Cloud, I am just a customer and I contributed to Packer in the past)
Thanks @marco-m. This issue does belong on the packer-plugin-hcloud repo and should be closed. I'll mark it as wontfix here and have it moved to the appropriate repo so that folks looking for this functionality can see that it is not supported. Thanks for providing the context on Hetzner Windows support.
This issue has been migrated to https://github.com/hashicorp/packer-plugin-hcloud/issues/15 due to the Packer Plugin split.
Please follow the new issue for updates.
It would be great if there was a way to build Windows Server images with packer in the Hetzner Cloud. https://www.packer.io/intro/getting-started/build-image.html#a-windows-example