summaryrefslogtreecommitdiff
path: root/data/templates/vrrp
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/vrrp')
-rw-r--r--data/templates/vrrp/keepalived.conf.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/vrrp/keepalived.conf.tmpl b/data/templates/vrrp/keepalived.conf.tmpl
index a1e47abc3..e31bfaac0 100644
--- a/data/templates/vrrp/keepalived.conf.tmpl
+++ b/data/templates/vrrp/keepalived.conf.tmpl
@@ -60,16 +60,16 @@ vrrp_instance {{ name }} {
{% endif %}
}
{% endif %}
-{% if group_config.virtual_address is defined and group_config.virtual_address is not none %}
+{% if group_config.address is defined and group_config.address is not none %}
virtual_ipaddress {
-{% for addr in group_config.virtual_address %}
+{% for addr in group_config.address %}
{{ addr }}
{% endfor %}
}
{% endif %}
-{% if group_config.virtual_address_excluded is defined and group_config.virtual_address_excluded is not none %}
+{% if group_config.excluded_address is defined and group_config.excluded_address is not none %}
virtual_ipaddress_excluded {
-{% for addr in group_config.virtual_address_excluded %}
+{% for addr in group_config.excluded_address %}
{{ addr }}
{% endfor %}
}