[lxc] Ubuntu likes runlevel 5
This commit is contained in:
parent
3a136aad77
commit
ddbb584235
|
@ -92,6 +92,9 @@ func (s *StepWaitInit) waitForInit(state multistep.StateBag, cancel <-chan struc
|
||||||
if currentRunlevel == targetRunlevel {
|
if currentRunlevel == targetRunlevel {
|
||||||
log.Printf("Container finished init.")
|
log.Printf("Container finished init.")
|
||||||
break
|
break
|
||||||
|
} else if currentRunlevel > targetRunlevel {
|
||||||
|
log.Printf("Expected Runlevel %d, Got Runlevel %s, continuing", targetRunlevel, currentRunlevel)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
/*log.Println("Attempting SSH connection...")
|
/*log.Println("Attempting SSH connection...")
|
||||||
|
|
Loading…
Reference in New Issue