unknown configuration key: "disable_shutdown" with vsphere-iso builder

14 views
Skip to first unread message

Charity Hilarity

unread,
May 13, 2020, 3:36:41 PM5/13/20
to Packer
Working on some automated windows provisioning using vsphere-iso (required). I would like to use the "disable_shutdown" flag to prevent my machines from shutting down after connecting with WinRM. Unfortunately, when I add "disable_shutdown": true to my Packer template, I receive the following error:

* unknown configuration key: "disable_shutdown"

My builds succeed when I remove "disable_shutdown" from my Packer template. The documentation specifies that "disable_shutdown" should be available for use in vsphere-iso. Is this a bug or did I miss something?

I have attached a redacted JSON template and my debug log.


Best,
Al
packerlog.txt
tmp_windows2019srv_build.json

Sylvia Moss

unread,
May 14, 2020, 4:34:26 AM5/14/20
to Packer
Hello! You are using Packer version 1.5.5 and the disable_shutdown config was introduced on 1.5.6 (CHANGELOG). 
Reply all
Reply to author
Forward
0 new messages