summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-15 18:51:43 +0200
committerGitHub <noreply@github.com>2023-09-15 18:51:43 +0200
commit3cd0ef72825dcd2e1a17da7bfe66fc1ce26b315a (patch)
tree767976e18938771c8e84ff0843b72bcca7e04a4f /data/templates
parentc5498ec219d02c1f671c0ff8b8e780d684ee24b0 (diff)
parent0c94a95a2de541edd3bce487c48a269b91a60ae9 (diff)
downloadvyos-1x-3cd0ef72825dcd2e1a17da7bfe66fc1ce26b315a.tar.gz
vyos-1x-3cd0ef72825dcd2e1a17da7bfe66fc1ce26b315a.zip
Merge pull request #2274 from vyos/mergify/bp/sagitta/pr-2273
T5586: Disable by default SNMP for Keeplived VRRP service (backport #2273)
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/high-availability/10-override.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/high-availability/10-override.conf.j2 b/data/templates/high-availability/10-override.conf.j2
index d1cb25581..c153f09b4 100644
--- a/data/templates/high-availability/10-override.conf.j2
+++ b/data/templates/high-availability/10-override.conf.j2
@@ -1,5 +1,5 @@
### Autogenerated by ${vyos_conf_scripts_dir}/high-availability.py ###
-{% set snmp = '' if vrrp.disable_snmp is vyos_defined else '--snmp' %}
+{% set snmp = '--snmp' if vrrp.snmp is vyos_defined else '' %}
[Unit]
After=vyos-router.service
# Only start if there is our configuration file - remove Debian default