Versions in this module Expand all Collapse all v1 v1.3.2 Oct 29, 2018 Changes in this version + var AbortReboot = `shutdown /a` + var DefaultRestartCheckCommand = winrm.Powershell(`echo "${env:COMPUTERNAME} restarted."`) + var DefaultRestartCommand = `shutdown /r /f /t 0 /c "packer restart"` + var TryCheckReboot = `shutdown /r /f /t 60 /c "packer restart test"` + type Config struct + RestartCheckCommand string + RestartCommand string + RestartTimeout time.Duration + type Provisioner struct + func (p *Provisioner) Cancel() + func (p *Provisioner) Prepare(raws ...interface{}) error + func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error