From 7af1a8d8b3424d6d2258d678332af9339092f961 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 23 Apr 2025 09:39:12 +0200 Subject: [PATCH] README.md: add a section about adding "registrations" This is a small followup for https://github.com/osbuild/image-builder-cli/pull/201 to include information about how to use the new `--registrations` option. --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 49a3f70..e732147 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,35 @@ $ sudo image-builder build qcow2 --blueprint ./config.toml --distro centos-9 ... ``` +### Adding registrations + +Adding registrations/subscriptions to an image can be done at +build time via the `--registrations` command line option. When +using this option the resulting image will include the given +subscriptions/registrations in the resulting image. + +Currently the Red Hat subscription is supported, e.g. +```console +$ cat > registrations.json <