Make network.publish_host configurable
The network publish host value defaults to the ip address of the first non-loopback interface, but this is not always an appropriate value. In some cases this value may need to be set to something other than the ip address of the local interface, such as when connections should be made to a floating ip address. Change-Id: I9ace9bc80607e8d60478e869ef13feea8c49e10a
This commit is contained in:
parent
31c222aca1
commit
a3745ab6ee
|
@ -240,7 +240,11 @@ bootstrap.mlockall: <%= @es_template_config['bootstrap.mlockall'] %>
|
|||
# Set the address other nodes will use to communicate with this node. If not
|
||||
# set, it is automatically derived. It must point to an actual IP address.
|
||||
#
|
||||
<% if @es_template_config.has_key?('network.publish_host') then -%>
|
||||
network.publish_host: <%= @es_template_config['network.publish_host'] %>
|
||||
<% else -%>
|
||||
# network.publish_host: 192.168.0.1
|
||||
<% end -%>
|
||||
|
||||
# Set both 'bind_host' and 'publish_host':
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue