This commit is contained in:
Gonzalo Peci 2015-08-20 09:00:38 +12:00 committed by unknown
parent 8bd3e62853
commit f01f62dc88
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ var waitForRestart = func(p *Provisioner, comm packer.Communicator) error {
// Couldnt execute, we asume machine is rebooting already // Couldnt execute, we asume machine is rebooting already
break break
} }
if cmd.ExitStatus != 0 { if cmd.ExitStatus == 1115 || cmd.ExitStatus == 1190 {
// Reboot already in progress but not completed // Reboot already in progress but not completed
log.Printf("Reboot already in progress, waiting...") log.Printf("Reboot already in progress, waiting...")
time.Sleep(10 * time.Second) time.Sleep(10 * time.Second)