Compare commits
4 Commits
v0.9.2-rc2
...
v0.8.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19a595773b | ||
|
|
c98844ec45 | ||
|
|
fde6789d4a | ||
|
|
3fefb5f888 |
@@ -53,7 +53,7 @@ func osSubcommands() []cli.Command {
|
||||
Usage: "do not reboot after upgrade",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "kexec",
|
||||
Name: "kexec, k",
|
||||
Usage: "reboot using kexec",
|
||||
},
|
||||
cli.StringFlag{
|
||||
@@ -206,7 +206,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)
|
||||
|
||||
@@ -395,7 +395,7 @@ func applyInterfaceConfig(link netlink.Link, netConf InterfaceConfig) error {
|
||||
}
|
||||
for _, addr := range existingAddrs {
|
||||
if _, ok := addrMap[addr.IPNet.String()]; !ok {
|
||||
if netConf.DHCP {
|
||||
if netConf.DHCP || netConf.IPV4LL {
|
||||
// let the dhcpcd take care of it
|
||||
log.Infof("leaving %s from %s", addr.String(), link.Attrs().Name)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user