bottlerocket
bottlerocket copied to clipboard
kernel-parameters does not accept single-word config options, specifying them causes reboot-loops
Image I'm using: bottlerocket-aws-k8s-1.29-x86_64-v1.19.4
What I expected to happen:
I want to turn off SMT in the kernel via settings.boot.kernel-parameters
This is not a key-value pair.
[settings.boot]
reboot-to-reconcile = true
[settings.boot.kernel-parameters]
"nosmt" = []
# "nosmt"
What actually happened:
The config does not seem to accept anything other than key = value
, and there are many kernel config options that are only key
.
The system goes into a reboot loop if I leave an empty value array.
How to reproduce the problem:
Use one or other of the options below.
[settings.boot]
reboot-to-reconcile = true
[settings.boot.kernel-parameters]
"nosmt" = []
# "nosmt"