From 3aa678e2a371cc87b6b10f1276f228b61b50c587 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 30 Jan 2024 10:26:00 -0600 Subject: [PATCH] Replace dhcp-client with udhcpc The dhclient binary from the dhcp-client package is no longer maintained, but it can be replaced by udhcpc which comes from busybox. Cloud-init already supports both utilities for the early dhcp request. Fixes rhbz#2247055 Signed-off-by: Major Hayden --- cloud-init.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cloud-init.spec b/cloud-init.spec index 0154fac..2784443 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -37,7 +37,11 @@ BuildRequires: python3dist(responses) BuildRequires: python3dist(passlib) %endif -Requires: dhcp-client +# Required for the udhcpc binary that replaces the unmaintained +# dhclient binary from the dhcp-client package. See BZ 2247055 +# for more details. +Requires: busybox + Requires: hostname Requires: e2fsprogs Requires: iproute