11.4. 在安装时注入内核参数
您可以在 a- karg 中使用
引导安装
来在安装过程中注入内核参数。因此,内核参数成为机器本地状态,即它们成为该特定机器独有的持久配置。
先决条件
- 您创建了一个容器镜像。
流程
注入内核参数:
bootc install to-filesystem --karg=root=<UUID>=<uuid of /mnt> --imgref $self /mnt
# bootc install to-filesystem --karg=root=<UUID>=<uuid of /mnt> --imgref $self /mnt
Copy to Clipboard Copied! Toggle word wrap Toggle overflow