11.4. 如何在安装时注入内核参数
您可以在 a- karg 中使用
引导安装
来在安装过程中注入内核参数。因此,内核参数将变为 machine-local 状态。
例如,要注入内核参数,请使用以下命令:
bootc install to-filesystem --karg
# bootc install to-filesystem --karg
注意
目前,bootc 没有用于操作内核参数的 API。只有
命令才支持 rpm-ostree。
rpm-ostree
kargs