mwrock / packer-templates

Templates for creating vagrant boxes
Other
535 stars 250 forks source link

Question: What is the command type of command_shutdown #89

Closed Stephanevg closed 7 years ago

Stephanevg commented 7 years ago

As described in the title, this is more a question then anything else. I am opening an issue, since I didn't get any answer on the IRC Channel. So trying here:

What type of shell is the shutdown_command ?

It is not specified in the help located here

I would be expecting powershell, but my shutdown script (which is a simple "Stop-computer") doesn't work.

mwrock commented 7 years ago

I'm pretty sure its the old style command shell - cmd.exe. The packer docs don't specify: https://www.packer.io/docs/builders/virtualbox-iso.html#shutdown_command