diff --git a/pkg/manifest/anaconda_installer_iso_tree.go b/pkg/manifest/anaconda_installer_iso_tree.go index 403edb8a41..9240e2d1a5 100644 --- a/pkg/manifest/anaconda_installer_iso_tree.go +++ b/pkg/manifest/anaconda_installer_iso_tree.go @@ -526,12 +526,13 @@ 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 if [ -c /dev/ttyS0 ]; then - echo "Install finished" > /dev/ttyS0 + # continue on errors here, because we used to omit --erroronfail + echo "Install finished" > /dev/ttyS0 || true fi %%end `, targetContainerTransport, p.containerSpec.LocalName)