diff --git a/internal/cloudapi/v2/handler.go b/internal/cloudapi/v2/handler.go index 87e32d35f..6208f45f2 100644 --- a/internal/cloudapi/v2/handler.go +++ b/internal/cloudapi/v2/handler.go @@ -313,6 +313,10 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error { } if ir.Ostree.Rhsm != nil { ostreeOptions.RHSM = *ir.Ostree.Rhsm + + // RHSM needs to be set on imageoptions directly in addition + // to the resolve job input + imageOptions.OSTree.RHSM = *ir.Ostree.Rhsm } } if ostreeOptions.Ref == "" {