Fix startup.sh and finish.sh ip address removal

This commit is contained in:
Bertrand Gouny
2017-04-02 13:18:52 +02:00
parent ea3a6095bc
commit 0b2ba5f4bf
6 changed files with 41 additions and 34 deletions
@@ -1,27 +1,31 @@
global_defs {
default_interface {{ KEEPALIVED_INTERFACE }}
}
vrrp_instance VI_1 {
interface {{ keepalived_interface }}
interface {{ KEEPALIVED_INTERFACE }}
track_interface {
{{ keepalived_interface }}
{{ KEEPALIVED_INTERFACE }}
}
state BACKUP
virtual_router_id 51
priority {{ keepalived_priority }}
priority {{ KEEPALIVED_PRIORITY }}
nopreempt
unicast_peer {
{{ keepalived_unicast_peers }}
{{ KEEPALIVED_UNICAST_PEERS }}
}
virtual_ipaddress {
{{ keepalived_virtual_ips }}
{{ KEEPALIVED_VIRTUAL_IPS }}
}
authentication {
auth_type PASS
auth_pass {{ keepalived_password }}
auth_pass {{ KEEPALIVED_PASSWORD }}
}
{{ keepalived_notify }}
{{ KEEPALIVED_NOTIFY }}
}