From ed0da146529c5a38c32ac346335138baab428bac Mon Sep 17 00:00:00 2001 From: fett0 Date: Thu, 19 Jan 2023 18:24:14 +0000 Subject: T4939: VRRP startup delay for bonding fix --- data/templates/high-availability/keepalived.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data/templates/high-availability') diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2 index ebff52e1f..4465f8640 100644 --- a/data/templates/high-availability/keepalived.conf.j2 +++ b/data/templates/high-availability/keepalived.conf.j2 @@ -5,6 +5,11 @@ global_defs { dynamic_interfaces script_user root +{% if vrrp.global_parameters 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