aboutsummaryrefslogtreecommitdiffstats
path: root/community/cloud-init/03-disable-irrelevant-modules.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/cloud-init/03-disable-irrelevant-modules.patch')
-rw-r--r--community/cloud-init/03-disable-irrelevant-modules.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/cloud-init/03-disable-irrelevant-modules.patch b/community/cloud-init/03-disable-irrelevant-modules.patch
new file mode 100644
index 0000000000..ba327e49f6
--- /dev/null
+++ b/community/cloud-init/03-disable-irrelevant-modules.patch
@@ -0,0 +1,33 @@
+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
+@@ -89,7 +89,9 @@
+ - emit_upstart
+ - snap
+ {% endif %}
++{% if variant not in ["alpine"] %}
+ - ssh-import-id
++{% endif %}
+ - locale
+ - set-passwords
+ {% if variant in ["rhel", "fedora"] %}
+@@ -135,8 +137,10 @@
+ - chef
+ - mcollective
+ - salt-minion
++{% if variant not in ["alpine"] %}
+ - reset_rmc
+ - refresh_rmc_and_interface
++{% endif %}
+ - rightscale_userdata
+ - scripts-vendor
+ - scripts-per-once