Image Template Restart Customizer Response
data class ImageTemplateRestartCustomizerResponse(val name: String? = null, val restartCheckCommand: String? = null, val restartCommand: String? = null, val restartTimeout: String? = null, val type: String)
Reboots a VM and waits for it to come back online (Windows). Corresponds to Packer windows-restart provisioner
Constructors
Properties
Link copied to clipboard
Command to check if restart succeeded Default: ''
Link copied to clipboard
Command to execute the restart Default: 'shutdown /r /f /t 0 /c "packer restart"'
Link copied to clipboard
Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) Default: '5m'