From d373a8e1ae602c98bf89dc962d0d2a27815fb183 Mon Sep 17 00:00:00 2001 From: Adam Dobrawy Date: Tue, 7 Jul 2020 15:20:11 +0200 Subject: Add update_etc_hosts as default module on *BSD (#479) * Add update_etc_hosts as default module on *BSD * Set preference of IPv6 over IPv4 in FreeBSD /etc/hosts --- config/cloud.cfg.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl index 1bb97f83..b44cbce7 100644 --- a/config/cloud.cfg.tmpl +++ b/config/cloud.cfg.tmpl @@ -70,8 +70,8 @@ cloud_init_modules: {% endif %} - set_hostname - update_hostname -{% if variant not in ["freebsd", "netbsd"] %} - update_etc_hosts +{% if not variant.endswith("bsd") %} - ca-certs - rsyslog {% endif %} -- cgit v1.2.3