aports/community/cloud-init/02-disable-irrelevant-modules.patch
Dermot Bradley 9464b16819 community/cloud-init: upgrade to 22.3
Remove some more non-Alpine components from the package.
2022-08-21 03:31:32 +00:00

34 lines
847 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
@@ -121,7 +121,9 @@
- ubuntu_autoinstall
{% endif %}
{% if variant not in ["photon"] %}
+{% if variant not in ["alpine"] %}
- ssh-import-id
+{% endif %}
{% if variant not in ["rhel"] %}
- keyboard
{% endif %}
@@ -178,8 +180,10 @@
- ansible
- mcollective
- salt-minion
+{% if variant not in ["alpine"] %}
- reset_rmc
- refresh_rmc_and_interface
+{% endif %}
- rightscale_userdata
- scripts-vendor
- scripts-per-once