-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional entry in addition to active, fallback and recovery #2379
Comments
We should be able to provide this directly via conf file like we do with active/passive/recorey currently, no need for another entry: Copy an extra conf for autoreset: kairos-io/kairos-agent#267 |
Everything merged. Tested this manually.
Will be in next patch release |
reopening as we need still to tackle the changes in enki, however the |
@Itxaka are you already working on the enki changes? I've just synced with Vipin and this is low prio atm |
Nope, haven't touched this other than adding the autoreset @mudler |
What does We currently have 2 flags:
If I understand correctly, we want an option that will only add the parameters to one specific entry? Or do we want an option that will create an additional entry (only one) with the provided parameters. If the latter is true, the efi file would have to be defined as well for the additional entry. |
Part of: kairos-io/kairos#2379 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Part of: kairos-io/kairos#2379 Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
I apologize for the confusion in my previous comment. You would like an option that adds the provided parameters to a single specific entry, specifically the "autoreset" entry, while still having the existing (active, passive, recovery) entries unchanged. In this case, an additional EFI file doesn't need to be defined for the additional entry, but the command line parameters should be set specifically for the "autoreset" entry when it is generated. To summarize:
Please let me know if I've understood correctly. |
All merged now. Docs at the bottom of this page: https://kairos.io/docs/installation/trustedboot/ (will appear as soon as the docs site is built) |
Provide an option to
enki
with a cmdline (or a list) as input.enki
would generate then an extra entry/EFI file into the installer and the kairos system should have the entry installed in the system in addition to active, fallback and recovery .Notes:
For Kairos reset flow, I need to add a single boot menu entry, with an additional cmdline "kairos.reset".
Adding it as extend cmdline loses the option to stay in recovery image, because it will always reset and reboot to active.
And, if i add it as generic cmdline that will create 6 EFIs into installed system 3 with default cmdline and 3 with this kairos.reset cmdline.
What we need is an option to add a cmdline for very specific usecase like reset, and have just one EFI instlled into the system alongwith active, fallback and recovery, This EFI will only be for this specific use case and we dont need fallback.recovery for this.
The text was updated successfully, but these errors were encountered: