Error sending shutdown command building Windows Server 2022/2025 #702
Code of Conduct
Packer Version1.15.1 Packer Plugin Version2.1.2 Plugin Builder
Plugin Post-Processor
vSphere Version8.0.3.00000 DescriptionHi, I'm having trouble closing a build of Windows Server 2022 and 2025 via Packer on vSphere 8.0.3.00000. Packer ConfigurationPacker config sysprep.cmd content Debug Outputhttps://gist.github.com/gianmarco-mameli/86c18f633a31f1064acc9715bab812c4 Panic OutputNo response Expected BehaviorThe build is correctly closed and exported Actual BehaviorThe build fail, the log says the shutdown command it's not executed Steps to ReproduceUse the config provided an see the log Environment DetailsNo response ScreenshotsNo response ReferencesNo response |
Replies: 4 comments 1 reply
|
@gianmarco-mameli I'm facing the same issue, did you find any workaround? |
|
Hi @tanerg, unfortunately no, I'm trying everything but I can't make it work |
|
Hi, I tried another test, using this command for sysprep |
|
Hi, I found a workaround that is functioning for now, in this comment |
Hi, I found a workaround that is functioning for now, in this comment
Using the suggested code in the Unattend Generalize component, the net interface it's not removed when the sysprep is done, so the build closes correctly.
I don't know why in the past was working, but for now it's ok for me