Skip to content

Commit

Permalink
images/alt: Remove cloud-init workaround
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin committed Dec 16, 2024
1 parent e1f1a7e commit 44a8f65
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions images/alt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 44a8f65

Please sign in to comment.