mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-13 13:10:22 +00:00
[WIP] Properly handle single entries in bootentry command
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
3
main.go
3
main.go
@@ -185,8 +185,11 @@ See https://kairos.io/docs/upgrade/manual/ for documentation.
|
||||
source = fmt.Sprintf("oci:%s", image)
|
||||
}
|
||||
|
||||
// TODO: Too many flags? Merge --recovery and --single-entry somehow?
|
||||
// Does the new flag make sense in non-uki? (No)
|
||||
return agent.Upgrade(source, c.Bool("force"),
|
||||
c.Bool("strict-validation"), constants.GetConfigScanDirs(),
|
||||
c.String("single-entry"),
|
||||
c.Bool("pre"), c.Bool("recovery"),
|
||||
)
|
||||
},
|
||||
|
Reference in New Issue
Block a user