Skip to content

Commit

Permalink
Select recovery boot entry correctly
Browse files Browse the repository at this point in the history
and add "debug" and "strict" to the uki-install config yaml

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
  • Loading branch information
jimmykarily committed Mar 22, 2024
1 parent 1d366f4 commit d29cc95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/assets/uki-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ install:
grub_options:
extra_cmdline: "rd.immucore.debug foobarzz"

debug: true
strict: true

stages:
initramfs:
- name: "Set user and password"
Expand Down
2 changes: 1 addition & 1 deletion tests/uki_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ var _ = Describe("kairos UKI test", Label("uki"), Ordered, func() {
})

By("rebooting to recovery")
out, err := vm.Sudo("kairos-agent bootentry --select recovery.conf")
out, err := vm.Sudo("kairos-agent bootentry --select recovery")
Expect(err).ToNot(HaveOccurred(), out)
vm.Reboot()
vm.EventuallyConnects(1200)
Expand Down

0 comments on commit d29cc95

Please sign in to comment.