mirror of
https://github.com/rancher/os.git
synced 2025-07-31 14:41:14 +00:00
Fix broken OS upgrade
This commit is contained in:
parent
9d21b31964
commit
ae0c42cef3
@ -162,7 +162,7 @@ func startUpgradeContainer(image string, stage, force bool) {
|
||||
|
||||
container := docker.NewContainer(config.DOCKER_SYSTEM_HOST, &config.ContainerConfig{
|
||||
Cmd: "--name=os-upgrade " +
|
||||
"--log-driver=json-file" +
|
||||
"--log-driver=json-file " +
|
||||
"--rm " +
|
||||
"--privileged " +
|
||||
"--net=host " +
|
||||
@ -175,7 +175,6 @@ func startUpgradeContainer(image string, stage, force bool) {
|
||||
log.Fatal(container.Err)
|
||||
}
|
||||
|
||||
|
||||
if !stage {
|
||||
fmt.Printf("Upgrading to %s\n", image)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user