Skip to content

Commit

Permalink
images/alt: Remove cloud-init workaround (#369)
Browse files Browse the repository at this point in the history
The issue with ALT cloud-init was fixed in the downstream as reported
back by @holmanb in
#344 (comment)
(See [Bug in downstream altlinux](https://bugzilla.altlinux.org/52029)).
This PR removes the previously introduced workaround.

Passing build:
https://github.com/MusicDin/lxd-ci/actions/runs/12355203098/job/34478274649
  • Loading branch information
tomponline authored Dec 16, 2024
2 parents e1f1a7e + 44a8f65 commit 5d21047
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 5d21047

Please sign in to comment.