summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2023-01-20 18:27:29 +0000
committerfett0 <fernando.gmaidana@gmail.com>2023-01-20 18:27:29 +0000
commit798180589854c9296d35b3ece8eb88cf0520dd2b (patch)
tree740ff4e6e67efb0a11858448e9bf9fb560bf2b70 /data
parent6efc73a26b66b5be231dcbe54f95c27cfd8108fa (diff)
downloadvyos-1x-798180589854c9296d35b3ece8eb88cf0520dd2b.tar.gz
vyos-1x-798180589854c9296d35b3ece8eb88cf0520dd2b.zip
T4939: VRRP startup delay edit correction
Diffstat (limited to 'data')
-rw-r--r--data/templates/high-availability/keepalived.conf.j24
1 files changed, 1 insertions, 3 deletions
diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2
index 4465f8640..828636dc0 100644
--- a/data/templates/high-availability/keepalived.conf.j2
+++ b/data/templates/high-availability/keepalived.conf.j2
@@ -5,10 +5,8 @@
global_defs {
dynamic_interfaces
script_user root
-{% if vrrp.global_parameters is vyos_defined %}
-{% if vrrp.global_parameters.startup_delay is vyos_defined %}
+{% if vrrp.global_parameters.startup_delay is vyos_defined %}
vrrp_startup_delay {{ vrrp.global_parameters.startup_delay }}
-{% endif %}
{% endif %}
notify_fifo /run/keepalived/keepalived_notify_fifo
notify_fifo_script /usr/libexec/vyos/system/keepalived-fifo.py