diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-07-11 12:48:37 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-07-11 12:55:17 +0000 |
commit | 60be130df1b5918c3bf1a460fdf65c5fa0e59253 (patch) | |
tree | 2fa138b18666172d0765e3d8a1882a98d7cc9238 /data/templates | |
parent | 16f7d593e841b73b2fa4b8120f4bb8e66c4321b3 (diff) | |
download | vyos-1x-60be130df1b5918c3bf1a460fdf65c5fa0e59253.tar.gz vyos-1x-60be130df1b5918c3bf1a460fdf65c5fa0e59253.zip |
T5341: HA migrate virtual-server tag to node address
Migrate:
high-availability virtual-server 203.0.113.1
to: high-availability virtual-server <name> address 203.0.113.1
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/high-availability/keepalived.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2 index bcd92358f..47408e345 100644 --- a/data/templates/high-availability/keepalived.conf.j2 +++ b/data/templates/high-availability/keepalived.conf.j2 @@ -173,7 +173,7 @@ vrrp_sync_group {{ name }} { {% for vserver, vserver_config in virtual_server.items() %} # Vserver {{ vserver }} {% if vserver_config.port is vyos_defined %} -virtual_server {{ vserver }} {{ vserver_config.port }} { +virtual_server {{ vserver_config.address }} {{ vserver_config.port }} { {% else %} virtual_server fwmark {{ vserver_config.fwmark }} { {% endif %} |