From 44a8f6593d9981e2bac5ee841538266288af2dc7 Mon Sep 17 00:00:00 2001 From: Din Music Date: Mon, 16 Dec 2024 14:52:01 +0000 Subject: [PATCH] images/alt: Remove cloud-init workaround Signed-off-by: Din Music --- images/alt.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/images/alt.yaml b/images/alt.yaml index d7d1a64a..d5e75c55 100644 --- a/images/alt.yaml +++ b/images/alt.yaml @@ -182,17 +182,5 @@ actions: variants: - cloud -# XXX: Prevent cloud-init from attempting to modify the hostname. Otherwise, cloud-init fails with -# an attribute error: "module 'cloudinit.util' has no attribute 'load_file'") in "update_hostname". -- trigger: post-packages - action: |- - #!/bin/sh - set -eux - - # Disable the update_hostname module in cloud-init. - sed -i '/update_hostname/d' /etc/cloud/cloud.cfg - variants: - - cloud - mappings: architecture_map: altlinux