Skip to content

Commit

Permalink
rhel8/azure: don't enable systemd-resolved
Browse files Browse the repository at this point in the history
In RHEL 8 and RHEL 9, systemd-resolved is available but provided as a
Technology Preview only [1].

systemd-resolved does not need to be enabled in Azure image types [2].
Removing it from the enabled services list leaves it up to the vendor
preset to determine the state of the service.  The executable itself is
part of the systemd package.  In RHEL 9, it is a separate package and is
not installed in any of our images.

[1] https://access.redhat.com/solutions/5647181
[2] See COMPOSER-2380
  • Loading branch information
achilleas-k committed Oct 31, 2024
1 parent 98c8ed2 commit 0be4a20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/distro/rhel/rhel8/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,6 @@ var defaultAzureImageConfig = &distro.ImageConfig{
"nm-cloud-setup.service",
"nm-cloud-setup.timer",
"sshd",
"systemd-resolved",
"waagent",
},
SshdConfig: &osbuild.SshdConfigStageOptions{
Expand Down

0 comments on commit 0be4a20

Please sign in to comment.