packer-community / packer-windows-plugins

A suite of Packer plugins for provisioning Windows machines
113 stars 20 forks source link

Restart provisioner (seems to) ignore restart_command #42

Closed qmfrederik closed 9 years ago

qmfrederik commented 9 years ago

I was very happy when I noticed the restart provisioner has a restart_command, that seemed to allow me to customize which command is executed when restarting the VM -- similar to the shutdown_command.

Unfortunately, it appears the provisioner actually ignores the value of that property, and always uses the default command (cfr. line 89 of restart/provisioner.go).

Frederik.

mefellows commented 9 years ago

Hi @qmfrederik, good pickup. I'll fix ASAP.

mefellows commented 9 years ago

Fixed & deployed another RC. That should do the trick. Will close this one off.

Appreciate the bug report!