Skip to content

Commit 477bcb0

Browse files
mvo5ondrejbudai
authored andcommitted
main: mark bootc as experimental
1 parent 60999c6 commit 477bcb0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmd/image-builder/main.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,12 @@ func cmdManifestWrapper(pbar progress.ProgressBar, cmd *cobra.Command, args []st
209209
if bootcRef != "" && distroStr != "" {
210210
return nil, fmt.Errorf("cannot use --distro with --bootc-ref")
211211
}
212+
// XXX: remove once https://github.com/osbuild/images/pull/1797
213+
// and https://github.com/osbuild/bootc-image-builder/pull/1014
214+
// are merged
215+
if bootcRef != "" {
216+
fmt.Fprintln(os.Stderr, "WARNING: bootc support is experimental")
217+
}
212218

213219
// no error check here as this is (deliberately) not defined on
214220
// "manifest" (if "images" learn to set the output filename in

0 commit comments

Comments
 (0)