Skip to content

switch-root: Ensure sysctl is run again after switching root#125

Open
chewi wants to merge 1 commit into
flatcar-masterfrom
chewi/sysctl-rerun
Open

switch-root: Ensure sysctl is run again after switching root#125
chewi wants to merge 1 commit into
flatcar-masterfrom
chewi/sysctl-rerun

Conversation

@chewi
Copy link
Copy Markdown
Contributor

@chewi chewi commented May 14, 2026

Dracut normally copies all sysctl config to the initrd, but we may want to exclude platform-specific config because the initrd is shared between platforms. That config can be picked up from the OEM sysext after switching root.

I have tested this manually with GCE.

Dracut normally copies all sysctl config to the initrd, but we may want
to exclude platform-specific config because the initrd is shared between
platforms. That config can be picked up from the OEM sysext after
switching root.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
@chewi chewi self-assigned this May 14, 2026
@chewi chewi requested a review from a team as a code owner May 14, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant