mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-15 22:19:25 +00:00
Add shim to choose next entry to boot from (#230)
This commit is contained in:
@@ -219,7 +219,7 @@ func RunInstall(c *config.Config) error {
|
||||
|
||||
// UKI path. Check if we are on UKI AND if we are running off a cd, otherwise it makes no sense to run the install
|
||||
// From the installed system
|
||||
if internalutils.IsUki() {
|
||||
if internalutils.IsUkiWithFs(c.Fs) {
|
||||
c.Logger.Debugf("UKI mode: %s\n", internalutils.UkiBootMode())
|
||||
if internalutils.UkiBootMode() == internalutils.UkiRemovableMedia {
|
||||
return runInstallUki(c)
|
||||
|
Reference in New Issue
Block a user