Merge pull request #6792 from Poddo/master

Update provisioner.go
This commit is contained in:
Adrien Delorme 2018-10-03 17:20:30 +02:00 committed by GitHub
commit 83590b5aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -138,7 +138,6 @@ var waitForRestart = func(p *Provisioner, comm packer.Communicator) error {
// Reboot already in progress but not completed
log.Printf("Reboot already in progress, waiting...")
time.Sleep(10 * time.Second)
break
}
if cmd.ExitStatus == 0 {
// Cancel reboot we created to test if machine was already rebooting