summaryrefslogtreecommitdiff
path: root/packages/redhat
diff options
context:
space:
mode:
authorBrett Holman <brett.holman@canonical.com>2023-02-28 13:44:48 -0700
committerGitHub <noreply@github.com>2023-02-28 13:44:48 -0700
commit2ee614aa6431f4339f48ebabdf2de4ebcc2401ab (patch)
treee9b7198b8a5b90234b0ca3033c6f39f14550be7f /packages/redhat
parent6100fda632f63605981636c0900e1e0b8b354979 (diff)
downloadcloud-init-git-2ee614aa6431f4339f48ebabdf2de4ebcc2401ab.tar.gz
dhclient_hook: remove vestigal dhclient_hook command (#2015)
At inception[1], dhclient hooks were used to filter environment variables into /run/cloud-init/dhclient.hooks/<interface>.json which was consumed by WALinuxAgentShim. The fallback method was to parse the dhcp client lease file. Today the Azure datasource directly uses the parsed lease file[2], and loading /run/cloud-init/dhclient.hook/<interface>.json file was removed in 22.2[3]. With no other consumers, we can remove this. [1] https://github.com/canonical/cloud-init/commit/648dbbf6b090c81e989f1ab70bf99f4de16a6a70 [2] https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/DataSourceAzure.py#L447 [3] https://github.com/canonical/cloud-init/commit/5ad0768a796bc07232476d0d29b5225f1e6e131c
Diffstat (limited to 'packages/redhat')
-rw-r--r--packages/redhat/cloud-init.spec.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in
index 5cbf828a..97e95096 100644
--- a/packages/redhat/cloud-init.spec.in
+++ b/packages/redhat/cloud-init.spec.in
@@ -179,9 +179,6 @@ fi
%attr(0755, root, root) %{_initddir}/cloud-init
%endif
-%{_sysconfdir}/NetworkManager/dispatcher.d/hook-network-manager
-%{_sysconfdir}/dhcp/dhclient-exit-hooks.d/hook-dhclient
-
# Program binaries
%{_bindir}/cloud-init*
%{_bindir}/cloud-id*