ostreecontainer
The ostreecontainer Kickstart command is optional. Use this command for OSTree installations from your custom containers.
- Usage with bootc-image-builder
-
When using
bootc-image-builderto create bootable ISOs, the tool automatically injects the%ostreecontainercommand into the embedded Kickstart file. Note the following:- The end-to-end process from image creation to installation is considered a Technology Preview.
- The support status remains Technology Preview regardless of whether you write the Kickstart file manually or the tool generates it.
- Syntax
-
ostreecontainer [--stateroot STATEROOT] --url URL [--transport TRANSPORT] [--remote REMOTE] [--no-signature-verification] - Options
-
--no-signature-verification: Use this option to disable verification for an ostree remote.--stateroot: Name of the state directory, also known as "osname". Default value isdefault.--url: Name of the container image for the registry transport. For example,quay.io/exampleos/foo:latest.--transport: The transport, for example, registry or oci. The default value isregistry.When performing Kickstart installations, the following commands are available together with
ostreecontainer:graphical,text, orcmdlineclearpartandzerombr-
autopart -
part logvolandvolgrouprebootandshutdown-
lang -
rootpw -
sshkey bootloader(available only with the--appendoptional parameter)user- When you specify a group within the user command, the user account can be assigned only to a group that already exists in the container image.The following Kickstart commands are unsupported together with
ostreecontainer:authconfigandauthselect(provide relevant configuration in the container image instead)-
ostreesetup -
liveimg -
module %packages(any necessary packages must be already available in the container image)-
repo url(if installation requires astage2image, such as during PXE installations, useinst.stage2=on the kernel command line. Do not provide astage2URL in the Kickstart file.)-
zfcp -
ziplKickstart commands not listed here can be used with the
ostreecontainercommand. However, they are not guaranteed to work as expected in the same way as with package-based installations.
- Note
-
- The
ostreecontaineroption cannot be used with theostreesetupcommand.
- The