ifstated: Fix default config template
This commit is contained in:
parent
78eaa51914
commit
46c65a4ca3
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
|
{% for int in network_vip_interfaces %}
|
||||||
# flush routes when external carp goes up
|
if carp{{ int.vhid }}.link.up
|
||||||
if carp*.link.up
|
|
||||||
run 'route -q flush ; route add default $(cat /etc/mygate)'
|
run 'route -q flush ; route add default $(cat /etc/mygate)'
|
||||||
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue