mirror of
https://github.com/rancher/os.git
synced 2025-09-17 07:30:42 +00:00
Create but do not start udev on system-docker
Eventually this container will be replaced with udev hotplug
This commit is contained in:
@@ -119,8 +119,14 @@ func runContainersFrom(startFrom string, cfg *config.Config, containerConfigs []
|
||||
}
|
||||
|
||||
if foundStart || startFrom == "" {
|
||||
log.Infof("Running [%d/%d] %s", i+1, len(containerConfigs), containerConfig.Id)
|
||||
container.StartAndWait()
|
||||
|
||||
if containerConfig.CreateOnly {
|
||||
log.Infof("Creating [%d/%d] %s", i+1, len(containerConfigs), containerConfig.Id)
|
||||
container.Create()
|
||||
} else {
|
||||
log.Infof("Running [%d/%d] %s", i+1, len(containerConfigs), containerConfig.Id)
|
||||
container.StartAndWait()
|
||||
}
|
||||
|
||||
if container.Err != nil {
|
||||
log.Errorf("Failed to run %v: %v", containerConfig.Id, container.Err)
|
||||
|
Reference in New Issue
Block a user