diff --git a/builder/lxc/step_wait_init.go b/builder/lxc/step_wait_init.go index 180f83f73..5b7d8c5cb 100644 --- a/builder/lxc/step_wait_init.go +++ b/builder/lxc/step_wait_init.go @@ -92,6 +92,9 @@ func (s *StepWaitInit) waitForInit(state multistep.StateBag, cancel <-chan struc if currentRunlevel == targetRunlevel { log.Printf("Container finished init.") break + } else if currentRunlevel > targetRunlevel { + log.Printf("Expected Runlevel %d, Got Runlevel %s, continuing", targetRunlevel, currentRunlevel) + break } /*log.Println("Attempting SSH connection...")