bottlerocket icon indicating copy to clipboard operation
bottlerocket copied to clipboard

kernel-parameters does not accept single-word config options, specifying them causes reboot-loops

Open james-masson opened this issue 9 months ago • 3 comments

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"

james-masson avatar May 14 '24 13:05 james-masson