From 798180589854c9296d35b3ece8eb88cf0520dd2b Mon Sep 17 00:00:00 2001 From: fett0 Date: Fri, 20 Jan 2023 18:27:29 +0000 Subject: T4939: VRRP startup delay edit correction --- data/templates/high-availability/keepalived.conf.j2 | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3