ruzickap / packer-templates

Scripts and Templates used for generating Vagrant images
Apache License 2.0
439 stars 113 forks source link

Windows core Server variant #492

Closed abbbi closed 5 months ago

abbbi commented 9 months ago

hi there,

would be nice to have a windows core server variant build :)

I think it shouldnt be much of an issue, just a different selection during installation?

abbbi commented 9 months ago

i gave it a try and created a core variant for server 2022, these are my findings:

1) i removed bleachbit and ultradefrag steps from the build workflow, they failed for me on core (and i did not attempt to analyze) 2) The shutdown_command must be called via cmd.exe /c, as windows core variant seems to default to powershell, sysprep failed if not:

-      "shutdown_command": "A:\\sysprep.bat",
+      "shutdown_command": "cmd.exe /c A:\\sysprep.bat",

other than that, the resulting image seems to function well.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

ruzickap commented 7 months ago

Thank you Michael for your suggestion and please please accept my apologies for slow response.

I do not plan to do any other changes to the repository, because it will require testing / fixing old bugs / updating components / etc...

I updated the README.md with the outdated message: https://github.com/ruzickap/packer-templates/pull/524

Thank you for understanding...

abbbi commented 7 months ago

oh, sorry to hear this, your images were always the best and easy to adopt for newer variants! Thanks for all your work!

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] commented 5 months ago

This issue has not seen any activity since it was marked stale. Closing.