Using eth0 IP instead of 127.0.0.1

This commit is contained in:
Philippe Caseiro 2018-05-14 16:20:19 +02:00
parent 9b589c4306
commit d53d35594b

View File

@ -1,5 +1,5 @@
%if %%getVar('activer_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader'
Leader:127.0.0.1:%%{redisPort}:master::
Leader:%%adresse_ip_eth0:%%{redisPort}:master::
%for %%node in %%getVar('rdClMember',[])
%if %%node.rdClMemberRole == 'master'
%%{node}:%%{node.rdClMemberIP}:%%{node.rdClMemberPort}:%%{node.rdClMemberRole}::