From 6e94a3ec4b7049824aed1520d205f12d32dda3a1 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Mon, 28 Oct 2024 12:15:23 +0100 Subject: [PATCH] rhel8/azure: don't enable systemd-resolved 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 --- pkg/distro/rhel/rhel8/azure.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/distro/rhel/rhel8/azure.go b/pkg/distro/rhel/rhel8/azure.go index e65ace67c9..589b702588 100644 --- a/pkg/distro/rhel/rhel8/azure.go +++ b/pkg/distro/rhel/rhel8/azure.go @@ -529,7 +529,6 @@ var defaultAzureImageConfig = &distro.ImageConfig{ "nm-cloud-setup.service", "nm-cloud-setup.timer", "sshd", - "systemd-resolved", "waagent", }, SshdConfig: &osbuild.SshdConfigStageOptions{