Mistake no I set no priority!

This commit is contained in:
Ian Southam 2015-01-28 17:09:47 +01:00 committed by wilderrodrigues
parent 2b0c4c85a9
commit 267bc52579
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class CsRedundant(object):
# keepalived configuration
file = CsFile(self.KEEPALIVED_CONF)
file.search(" router_id ", " router_id %s" % self.cl.get_name())
# file.search(" priority ", " priority %s" % self.cl.get_priority())
file.search(" priority ", " priority %s" % self.cl.get_priority())
file.search(" weight ", " weight %s" % 2)
# file.search(" state ", " state %s" % self.cl.get_state())
file.search(" state ", " state %s" % "EQUAL")