Skip to content

distro: add default sytemd target customization (HMS-9704) - #2780

Merged
supakeen merged 2 commits into
osbuild:mainfrom
matej-lohnicky:hms-9704-add-default-target
Oct 22, 2026
Merged

supakeen merged 2 commits into
osbuild:mainfrom
matej-lohnicky:hms-9704-add-default-target

Conversation

@matej-lohnicky

Copy link
Copy Markdown
Contributor

Allows the blueprint to override the default systemd target defined in imageConfig.
Also bumps the blueprint version, because this option is new.

Bump the blueprint version so we have the default systemd target
attribute available.
Allow a blueprint customization to override the default systemd
target. Use the imageConfig default when it is not set.

@croissanne croissanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, but maybe worht adding to test/configs/all-customizations.json?

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very nice! Thank you.

I wonder if we can make this part of the boot tests. Ok to leave for a follow-up. I think if we make a test config that sets the target to graphical (using the host check tool), it would work for a cloud image. Not sure if the running system will be considered degraded though. Something to look into.

@achilleas-k

Copy link
Copy Markdown
Member

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 22, 2026
@achilleas-k
achilleas-k added this pull request to the merge queue Oct 22, 2026
@supakeen
supakeen removed this pull request from the merge queue due to a manual request Oct 22, 2026
@supakeen
supakeen added this pull request to the merge queue Oct 22, 2026
Merged via the queue into osbuild:main with commit 99e3bb3 Oct 22, 2026
55 checks passed
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.

Unable to set default system target to graphical despite installing "Workstation" package groups.

4 participants