In DOCKER_VERNEMQ_SWARM mode, the logic for obtaining the NODENAME is inconsistent between these two places. In some cases, the results obtained by the two methods differ. Should they be made consistent?
|
terminating_node_name=VerneMQ@$(hostname -i) |
|
NODENAME=$(ip -4 -o addr show ${NET_INTERFACE} | awk '{print $4}' | cut -d "/" -f 1) |