IMAGE-BUILDER-BUILD(1)
π IMAGE-BUILDER-BUILD(1) π
okay bestie, welcome to the image-builder-build manual page π
yes this is the image-builder-build(1) girlie, and she is about to build you an actual operating system image. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
image-builder-build β build the given image-type, e.g. qcow2 (tip: combine with --distro, --arch) π
π SYNOPSIS π
image-builder build [flags]
π¦ DESCRIPTION π¦
So basically: you build the given image-type, e.g. qcow2. and the tip of all tips β combine it with --distro and --arch for maximum lewk πΈ
This command also supports uploading the image to a cloud provider after building it. build then yeet, iconic behavior β¨
For AWS uploads, credentials are read from the standard AWS credentials chain, including environment variables, shared configuration and credentials files, and instance profiles. Use --aws-profile to select a named profile. π₯
For Azure uploads, omit both --azure-client-id and --azure-client-secret to use Azure CLI credentials after authenticating with az login. For service principal authentication, provide --azure-client-id, --azure-client-secret, and --azure-tenant. The tenant is optional with Azure CLI credentials. π
π OPTIONS π
one bullet per flag, no skipping, we respect every single one of them in this house π«‘
--arch=""β build manifest for a different architecture--aws-ami-name=""β name for the AMI in AWS (only for--to=aws)--aws-boot-mode=""β boot mode for the AMI:legacy-bios,uefi,uefi-preferred(only for--to=aws)--aws-bucket=""β target S3 bucket name for intermediate storage when creating AMI (only for--to=aws)--aws-profile=""β name of the AWS credentials profile (only for--to=aws)--aws-region=""β target region for AWS uploads (only for--to=aws)--aws-tag=[]β tag the AMI with thisKey=Value(only for--to=aws)--azure-client-id=""β Azure client ID (only for--to=azure)--azure-client-secret=""β Azure client secret (only for--to=azure)--azure-image-name=""β name for the uploaded image (only for--to=azure)--azure-resource-group=""β Azure resource group (only for--to=azure)--azure-subscription=""β Azure subscription ID (only for--to=azure)--azure-tenant=""β Azure tenant ID (only for--to=azure)--blueprint=""β filename of a blueprint to customize an image--bootc-build-ref=""β bootc build container ref--bootc-default-fs=""β default filesystem to use for the bootc install (e.g.ext4)--bootc-installer-payload-ref=""β bootc installer payload ref--bootc-no-default-kernel-args[=false]β don't use the default kernel arguments--bootc-pull-container[=false]β pull bootc container from remote location instead of using it from local container storage--bootc-ref=""β bootc container ref--bootc-variant=""β deployment variant to use for the bootc container--cache="/builddir/.cache/image-builder/store"β osbuild directory to cache intermediate build artifacts"--distro=""β build manifest for a different distroname (e.g.centos-9)--format=""β Output in a specific format (json)-h,--help[=false]β help for build π₯Ί--ibmcloud-bucket=""β target bucket name for storing the image (only for--to=ibmcloud)--ibmcloud-image-name=""β name for the uploaded image (only for--to=ibmcloud)--ibmcloud-region=""β target region for IBM Cloud uploads (only for--to=ibmcloud)--ignore-warnings[=false]β ignore warnings during manifest generation--image-size=0β override the default image size (e.g.1 GiB)--in-vm[=false]β run the osbuild pipeline in a virtual machine--libvirt-connection=""β connection URI (only for--to=libvirt)--libvirt-pool=""β pool name (only for--to=libvirt)--libvirt-volume=""β volume name (only for--to=libvirt)--openstack-container-format="bare"β this indicates if the image contains metadata about the VM (only for--to=openstack)--openstack-disk-format="raw"β the disk format of a virtual machine image (only for--to=openstack)--openstack-image=""β name for the uploaded image (only for--to=openstack)--ostree-parent=""β OSTREE parent--ostree-ref=""β OSTREE reference--ostree-url=""β OSTREE url--output-name=""β set specific output basename--progress="auto"β type of progress bar to use (e.g.verbose,term)--registrations=""β filename of a registrations file with e.g. subscription details--rpmmd-cache=""β osbuild directory to cache rpm metadata--seed=0β rng seed, some values are derived randomly, pinning the seed allows more reproducibility if you need it. must be an integer. only used when changed.--with-buildlog[=false]β export osbuild buildlog--with-extra=[]β include an extra bytype:namein the build, globs supported (e.g.--with-extra "sysext:*")--with-manifest[=false]β export osbuild manifest--with-metrics[=false]β print timing information at the end of the build--with-sbom[=false]β export SPDX SBOM document
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones you didn't even have to ask for, they come down from the parent command like family heirlooms π
--extra-repo=[]β Add an extra repository during build (will not be gpg checked and not be part of the final image)--force-repo=[]β Override the base repositories during build (these will not be part of the final image)--force-repo-dir=""β Override the default repository search path for custom repository files--output-dir=""β Put output into the specified directory-v,--verbose[=false]β Switch to verbose mode (more logging on stderr and verbose progress)
heads up bestie:--extra-repowill not be gpg checked, and neither--extra-reponor--force-repowill be part of the final image. read that again, it matters π
π« SEE ALSO π«
π HISTORY π
14-Oct-2026 β Auto generated by spf13/cobra
and that's the whole page, you ate it all up π this was the image-builder-build(1) manual, Oct 2026, auto generated by spf13/cobra β go build something cute, love u, bye ππ§
π¦ where this page comes from
- centos-stream 10: image-builder 87.0.0-1.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-SA-4.0 AND ISC AND MIT AND MPL-2.0 AND Unlicense
- centos-stream 9: image-builder 87.0.0-1.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-SA-4.0 AND ISC AND MIT AND MPL-2.0 AND Unlicense
- fedora 44: image-builder 87.0.0-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-SA-4.0 AND ISC AND MIT AND MPL-2.0 AND Unlicense
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms