Skip to content

Commit

Permalink
anaconda: Use erroronfail
Browse files Browse the repository at this point in the history
Not doing this can silently mask errors.

xref containers/bootc#931

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Jan 13, 2025
1 parent f295ad7 commit 4a05065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manifest/anaconda_installer_iso_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ reboot --eject
`

// Workaround for lack of --target-imgref in Anaconda, xref https://github.com/osbuild/images/issues/380
hardcodedKickstartBits += fmt.Sprintf(`%%post
hardcodedKickstartBits += fmt.Sprintf(`%%post --erroronfail
bootc switch --mutate-in-place --transport %s %s
# used during automatic image testing as finished marker
Expand Down

0 comments on commit 4a05065

Please sign in to comment.