diff options
author | fett0 <fernando.gmaidana@gmail.com> | 2023-04-11 18:30:02 +0000 |
---|---|---|
committer | fett0 <fernando.gmaidana@gmail.com> | 2023-04-11 18:30:02 +0000 |
commit | 56a762fc6c217870a5c54bc0e4e162dfa0a1e9bf (patch) | |
tree | e220f27ee3678526e82ad0512829cd40c97c72ad /data/templates | |
parent | 0b0f991a86461ed725762010cf263fb2f0eaa16a (diff) | |
download | vyos-1x-56a762fc6c217870a5c54bc0e4e162dfa0a1e9bf.tar.gz vyos-1x-56a762fc6c217870a5c54bc0e4e162dfa0a1e9bf.zip |
T4939: backport VRRP startup delay
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/vrrp/keepalived.conf.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/vrrp/keepalived.conf.tmpl b/data/templates/vrrp/keepalived.conf.tmpl index 10d5c6d24..49c5c3916 100644 --- a/data/templates/vrrp/keepalived.conf.tmpl +++ b/data/templates/vrrp/keepalived.conf.tmpl @@ -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 } |