Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS committed Oct 18, 2024
1 parent 0c1cb82 commit c8d170c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion images_yaml/archlinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ packages:

- packages:
- cloud-init
- openbsd-netcat
- openssh
action: install
variants:
Expand Down Expand Up @@ -825,7 +826,11 @@ actions:
#!/bin/sh
set -eux
systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
systemctl enable cloud-init-main.service
# Workaround, see https://gitlab.archlinux.org/archlinux/packaging/packages/cloud-init/-/issues/3
ln -s /bin/nc /bin/nc.openbsd
sed -i '/Before=sysinit.target/d' /usr/lib/systemd/system/cloud-init-main.service
variants:
- cloud
architectures:
Expand Down
2 changes: 1 addition & 1 deletion images_yaml/kali.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ actions:
set -eux
# Enable cloud-init units
systemctl enable cloud-init
systemctl enable cloud-config.service cloud-final.service cloud-init-local.service cloud-init-network.service cloud-config.target cloud-init.target
variants:
- cloud

Expand Down

0 comments on commit c8d170c

Please sign in to comment.