summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordermotbradley <dermot_bradley@yahoo.com>2020-08-20 00:18:25 +0100
committerGitHub <noreply@github.com>2020-08-19 18:18:25 -0500
commit79a8ce7e714ae1686c10bff77612eab0f6eccc95 (patch)
tree5bf05e746bb91f6a21bd549a1fc579d2c9cd1940 /tools
parentb749548a9eb43b34cce64f8688107645411abc8c (diff)
downloadcloud-init-git-79a8ce7e714ae1686c10bff77612eab0f6eccc95.tar.gz
Add Alpine Linux support. (#535)
Add new module cc_apk_configure for creating Alpine /etc/apk/repositories file. Modify cc_ca_certs, cc_ntp, cc_power_state_change, and cc_resolv_conf for Alpine. Add Alpine template files for Chrony and Busybox NTP support. Add Alpine template file for /etc/hosts.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/render-cloudcfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/render-cloudcfg b/tools/render-cloudcfg
index 9322b2c3..ed454840 100755
--- a/tools/render-cloudcfg
+++ b/tools/render-cloudcfg
@@ -4,8 +4,9 @@ import argparse
import os
import sys
-VARIANTS = ["amazon", "arch", "centos", "debian", "fedora", "freebsd",
- "netbsd", "openbsd", "rhel", "suse", "ubuntu", "unknown"]
+VARIANTS = ["alpine", "amazon", "arch", "centos", "debian", "fedora",
+ "freebsd", "netbsd", "openbsd", "rhel", "suse", "ubuntu",
+ "unknown"]
if "avoid-pep8-E402-import-not-top-of-file":