aboutsummaryrefslogtreecommitdiffstats
path: root/community/cloud-init/02-disable-irrelevant-modules.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/cloud-init/02-disable-irrelevant-modules.patch')
-rw-r--r--community/cloud-init/02-disable-irrelevant-modules.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/cloud-init/02-disable-irrelevant-modules.patch b/community/cloud-init/02-disable-irrelevant-modules.patch
new file mode 100644
index 00000000000..dfb7c55f2bc
--- /dev/null
+++ b/community/cloud-init/02-disable-irrelevant-modules.patch
@@ -0,0 +1,30 @@
+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
+@@ -111,7 +111,6 @@
+
+ # The modules that run in the 'init' stage
+ cloud_init_modules:
+- - migrator
+ {% if variant not in ["netbsd"] %}
+ - seed_random
+ {% endif %}
+@@ -203,7 +202,9 @@
+ - ansible
+ - mcollective
+ - salt_minion
++{% if variant not in ["alpine"] %}
+ - reset_rmc
++{% endif %}
+ - rightscale_userdata
+ - scripts_vendor
+ - scripts_per_once