Compare commits

...

1 Commits

Author SHA1 Message Date
Sven Dowideit
5ef68bb7d5 use --kexec for os upgrade, not -k
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-07 09:39:48 +00:00

View File

@@ -52,7 +52,7 @@ func osSubcommands() []cli.Command {
Usage: "do not reboot after upgrade",
},
cli.BoolFlag{
Name: "kexec",
Name: "kexec, k",
Usage: "reboot using kexec",
},
cli.StringFlag{
@@ -201,7 +201,7 @@ func startUpgradeContainer(image string, stage, force, reboot, kexec bool, upgra
}
if kexec {
command = append(command, "-k")
command = append(command, "--kexec")
}
kernelArgs = strings.TrimSpace(kernelArgs)