12.4. Injecting kernel arguments at installation time
You can use boot install with the --karg to inject kernel arguments during installation time. As a result, the kernel arguments become the machine-local state, that is, they became the persistent configuration unique to that specific machine.
Prerequisites
- You created a container image.
Procedure
Inject kernel arguments:
# bootc install to-filesystem --karg=root=<UUID>=<uuid of /mnt> --imgref $self /mnt