Skip to content

conf: Add [Runtime] for install session flags (runtime file only)#7001

Open
adamkankovsky wants to merge 1 commit intorhinstaller:mainfrom
adamkankovsky:runtime-conf-section-automated-ks
Open

conf: Add [Runtime] for install session flags (runtime file only)#7001
adamkankovsky wants to merge 1 commit intorhinstaller:mainfrom
adamkankovsky:runtime-conf-section-automated-ks

Conversation

@adamkankovsky
Copy link
Copy Markdown
Contributor

@adamkankovsky adamkankovsky commented Mar 31, 2026

Tested in interactive and non-interactive mode and it works.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new [Runtime] configuration section to manage and publish installation session flags, specifically automated_install and interactive_mode, to the runtime anaconda.conf file. Feedback focuses on improving the robustness of the configuration initialization by ensuring individual options are set if missing, and enhancing the set_runtime_install_session method to respect environment variables for better testability while validating the configuration before it is written to disk.

@adamkankovsky adamkankovsky force-pushed the runtime-conf-section-automated-ks branch from 80c2378 to 9412d7f Compare March 31, 2026 12:58
Expose automated_install and interactive_mode via conf.runtime. Values
are written to /run/anaconda/anaconda.conf.
@adamkankovsky adamkankovsky force-pushed the runtime-conf-section-automated-ks branch from 9412d7f to 2c19c59 Compare March 31, 2026 12:59
@adamkankovsky adamkankovsky requested a review from KKoukiou March 31, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants