Skip to content

Commit 0e25289

Browse files
honecgwalters
authored andcommitted
fix: remove bootloader from test when using to-filesystem
Signed-off-by: Terence Lee <hone02@gmail.com>
1 parent 661e7c3 commit 0e25289

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tmt/tests/booted/test-install-karg-delete.nu

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ mkdir /etc/bootc/install
2929

3030
let base_args = $"bootc install to-filesystem --disable-selinux --source-imgref ($target_image) --karg-delete localtestkarg --karg-delete foo"
3131
let install_cmd = if (tap is_composefs) {
32-
let st = bootc status --json | from json
33-
let bootloader = ($st.status.booted.composefs.bootloader | str downcase)
34-
$"($base_args) --composefs-backend --bootloader=($bootloader) /var/mnt"
32+
$"($base_args) --composefs-backend /var/mnt"
3533
} else {
36-
$"($base_args) --bootloader none /var/mnt"
34+
$"($base_args) /var/mnt"
3735
}
3836

3937
tap run_install $install_cmd

0 commit comments

Comments
 (0)