aports/community/cloud-init/02-disable-irrelevant-modules.patch
Dermot Bradley 77d0037592 community/cloud-init: upgrade to 23.1.1
Revise README.Alpine documentation.

Change default DataSource list to exclude CloudSigma and SmartOS.

Remove ifupdown-ng, lsblkd, parted, sfdisk, and sgdisk from package
dependencies.
2023-03-13 05:37:41 +00:00

34 lines
835 B
Diff

From: Dermot Bradley <dermot_bradley@yahoo.com>
Date: Wed, 12 May 2021 00:14 +0100
Subject: [PATCH] cloud-init: Disable some modules not relevant to Alpine
Disable some cloud-init modules that are not (currently) relevant
to Alpine and which have been removed from the Alpine package.
---
diff -aur a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
--- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl
@@ -125,7 +125,9 @@
- ubuntu_autoinstall
{% endif %}
{% if variant not in ["photon"] %}
+{% if variant not in ["alpine"] %}
- ssh-import-id
+{% endif %}
{% if not is_rhel %}
- keyboard
{% endif %}
@@ -180,8 +182,10 @@
- ansible
- mcollective
- salt-minion
+{% if variant not in ["alpine"] %}
- reset_rmc
- refresh_rmc_and_interface
+{% endif %}
- rightscale_userdata
- scripts-vendor
- scripts-per-once