summaryrefslogtreecommitdiff
path: root/data/templates/high-availability
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-20 20:07:34 +0100
committerGitHub <noreply@github.com>2023-01-20 20:07:34 +0100
commitbf38bb14f0698b030fa49429ec70ab2edc51c85e (patch)
tree740ff4e6e67efb0a11858448e9bf9fb560bf2b70 /data/templates/high-availability
parent08949c6e85c6fe02bd702894748b41d600ee7d01 (diff)
parent798180589854c9296d35b3ece8eb88cf0520dd2b (diff)
downloadvyos-1x-bf38bb14f0698b030fa49429ec70ab2edc51c85e.tar.gz
vyos-1x-bf38bb14f0698b030fa49429ec70ab2edc51c85e.zip
Merge pull request #1769 from fett0/T4939
T4939: VRRP startup-delay for bonding fix
Diffstat (limited to 'data/templates/high-availability')
-rw-r--r--data/templates/high-availability/keepalived.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2
index ebff52e1f..828636dc0 100644
--- a/data/templates/high-availability/keepalived.conf.j2
+++ b/data/templates/high-availability/keepalived.conf.j2
@@ -5,6 +5,9 @@
global_defs {
dynamic_interfaces
script_user root
+{% if vrrp.global_parameters.startup_delay is vyos_defined %}
+ vrrp_startup_delay {{ vrrp.global_parameters.startup_delay }}
+{% endif %}
notify_fifo /run/keepalived/keepalived_notify_fifo
notify_fifo_script /usr/libexec/vyos/system/keepalived-fifo.py
}