mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-18 07:50:38 +00:00
After upgrade or recovery, set bootentry to "cos" (#251)
This commit is contained in:
@@ -81,7 +81,7 @@ func (r *ResetAction) Run() (err error) {
|
||||
return fmt.Errorf("copying recovery to active: %w", err)
|
||||
}
|
||||
// SelectBootEntry sets the default boot entry to the selected entry
|
||||
err = action.SelectBootEntry(r.cfg, "active")
|
||||
err = action.SelectBootEntry(r.cfg, "cos")
|
||||
// Should we fail? Or warn?
|
||||
if err != nil {
|
||||
r.cfg.Logger.Errorf("selecting boot entry : %s", err.Error())
|
||||
|
Reference in New Issue
Block a user