summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAdam Dobrawy <ad-m@users.noreply.github.com>2020-07-07 15:20:11 +0200
committerGitHub <noreply@github.com>2020-07-07 09:20:11 -0400
commitd373a8e1ae602c98bf89dc962d0d2a27815fb183 (patch)
tree8471ff74b93fdd24ad4a1504e45a7a0ff57789ad /config
parent411dbbebd328163bcb1c676cc711f3e5ed805375 (diff)
downloadvyos-cloud-init-d373a8e1ae602c98bf89dc962d0d2a27815fb183.tar.gz
vyos-cloud-init-d373a8e1ae602c98bf89dc962d0d2a27815fb183.zip
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
Diffstat (limited to 'config')
-rw-r--r--config/cloud.cfg.tmpl2
1 files changed, 1 insertions, 1 deletions
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 %}