bottlerocket-os / bottlerocket-os/bottlerocket

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

Open
#3,957 3 comments 1 reaction 0 assignees View on GitHub
type/bug
Dominant language
Rust
Stars
9.7k
Forks
586
Avg merge
1d 11h
Merged PRs (30d)
11

Description

**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"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.