boot
settings.boot.*)Warning
Bottlerocket only allows boot configuration for kernel and init.
If you specify any other boot config key the settings generation will fail.
Setting list for settings.boot
Full Reference
settings.boot.init-parameters
Init parameters expressed as key/value pairs.
If boot data exists at /proc/bootconfig, Bottlerocket generates the settings from this data on first boot.
During the boot process, the init parameters pass via the kernel command line.
[settings.boot.init-parameters]
"log_level" = ["debug"]
"splash" = []
apiclient apply <<EOF
[settings.boot.init-parameters]
"log_level" = ["debug"]
"splash" = []
EOF
settings.boot.kernel-parameters
Kernel parameters expressed as key/value pairs.
If boot data exists at /proc/bootconfig, Bottlerocket generates the settings from this data on first boot.
During the boot process, the parameters pass via the kernel command line.
[settings.boot.kernel-parameters]
"console" = [
"tty0",
"ttyS1,115200n8",
]
"crashkernel" = [
"2G-:256M"
]
"slub_debug" = [
"options,slabs"
]
"usbcore.quirks" = [
"0781:5580:bk",
"0a5c:5834:gij"
]
apiclient apply <<EOF
[settings.boot.kernel-parameters]
"console" = [
"tty0",
"ttyS1,115200n8",
]
"crashkernel" = [
"2G-:256M"
]
"slub_debug" = [
"options,slabs"
]
"usbcore.quirks" = [
"0781:5580:bk",
"0a5c:5834:gij",
]
EOF
settings.boot.reboot-to-reconcile
When true, changes observed to settings.boot.kernel-parameters or settings.boot.init-parameters during the boot proccess trigger a reboot.
truefalse
Note
The reboot occurs only if the actual settings value changes.
If settings.boot.kernel-parameters or settings.boot.init-parameters are set to an existing value, no reboot will occur even if settings.boot.reboot-to-reconcile is set to true.
This allows you to place settings.boot.kernel-parameters and settings.boot.init-parameters in user data or a bootstrap container without causing a reboot loop.
[settings.boot]
reboot-to-reconcile = trueapiclient set settings.boot.reboot-to-reconcile=true