Skip to content

network-installer: Do not set timezone or locale in Kickstart#2295

Open
brlane-rht wants to merge 1 commit intoosbuild:mainfrom
brlane-rht:main-empty-kickstart
Open

network-installer: Do not set timezone or locale in Kickstart#2295
brlane-rht wants to merge 1 commit intoosbuild:mainfrom
brlane-rht:main-empty-kickstart

Conversation

@brlane-rht
Copy link
Copy Markdown

The network installer does not use these values to create a kickstart. The blueprint Locale is used for the locale of the booted iso, not the installed system. The timezone customization is not used at all. But setting these triggers creation of an empty osbuild.ks which causes Anaconda to crash.

Remove both of them, and remove locale from the list of supported blueprint options in the image definitions yaml.

Related: HMS-10469

@bcl bcl requested a review from supakeen April 7, 2026 19:06
@brlane-rht brlane-rht force-pushed the main-empty-kickstart branch from e35dde1 to 6f9307f Compare April 7, 2026 21:35
@brlane-rht brlane-rht marked this pull request as ready for review April 7, 2026 21:35
@brlane-rht brlane-rht requested a review from a team as a code owner April 7, 2026 21:35
@brlane-rht brlane-rht requested review from bcl and croissanne April 7, 2026 21:35
@brlane-rht brlane-rht force-pushed the main-empty-kickstart branch from 6f9307f to 1cef05d Compare April 7, 2026 21:37
The network installer does not use these values to create a kickstart.
The blueprint Locale is used for the locale of the booted iso, not the
installed system. The timezone customization is not used at all. But
setting these triggers creation of an empty osbuild.ks which causes
Anaconda to crash.

This removes the code that was setting these in the Kickstart struct.
Locale is still set in the installer using org.osbuild.locale

This includes new manifest tests that only set customizations.locale in
the blueprint which will create an org.osbuild.locale stage, but NOT an
org.osbuild.kickstart stage.

Resolves: HMS-10469
@brlane-rht brlane-rht force-pushed the main-empty-kickstart branch from 1cef05d to 773ffe0 Compare April 7, 2026 23:03
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