1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 02:35:23 +03:00
aports/community/cloud-init/03-disable-irrelevant-modules.patch
Dermot Bradley 9feea4e93d community/cloud-init: disable modules irrelevant to Alpine
Add patch file 03-disable-irrelevant-modules.patch to disable
cloud-init modules that are irrelevant for/unsupported on Alpine.
2021-05-12 19:41:30 +00:00

33 lines
818 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
@@ -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