1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/cloud-init/02-disable-irrelevant-modules.patch
Dermot Bradley a6e60bffff community/cloud-init: revise README.Alpine
Revise/expand README.Alpine to clarify when some additional Alpine
packages may need to be installed.

Ensure cloud-init keyboard module is disabled in cloud-init config.
2022-11-26 02:34:56 +00:00

35 lines
905 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
@@ -123,8 +123,10 @@
- ubuntu_autoinstall
{% endif %}
{% if variant not in ["photon"] %}
+{% if variant not in ["alpine"] %}
- ssh-import-id
-{% if not is_rhel %}
+{% endif %}
+{% if variant in ["arch", "debian", "ubuntu", "suse"] %}
- keyboard
{% endif %}
- locale
@@ -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