packer-templates icon indicating copy to clipboard operation
packer-templates copied to clipboard

Windows core Server variant

Open abbbi opened this issue 1 year ago • 5 comments

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 avatar Jan 15 '24 13:01 abbbi

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.

abbbi avatar Jan 16 '24 10:01 abbbi

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] avatar Mar 17 '24 09:03 github-actions[bot]

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...

ruzickap avatar Mar 17 '24 10:03 ruzickap

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

abbbi avatar Mar 17 '24 16:03 abbbi

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] avatar May 17 '24 09:05 github-actions[bot]

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

github-actions[bot] avatar May 25 '24 09:05 github-actions[bot]