Merge pull request #1367 from yousong/bugfix/yousong-lb

Bugfix/yousong lb
This commit is contained in:
yunion-ci-robot
2019-06-25 11:45:51 +08:00
committed by GitHub
5 changed files with 58 additions and 11 deletions
+1 -1
View File
@@ -534,7 +534,7 @@ vrrp_instance YunionLB {
auth_type PASS
auth_pass {{ .vrrp.pass }}
}
{{ if .vrrp.notify_script -}} notify {{ .vrrp.notify_script }} {{- end }}
{{ if .vrrp.notify_script -}} notify {{ .vrrp.notify_script }} root {{- end }}
{{ if .vrrp.unicast_peer -}} unicast_peer { {{- println }}
{{- range .vrrp.unicast_peer }} {{ println . }} {{- end }}
}