multinode_setup allow private ip

Allow all nodes to connect to each other on the fixed/private ips.

This change realated to:
  https://review.openstack.org/#/c/114840/

Change-Id: I4b70f9184591d4563ce7b0a1b163b4055604f334
This commit is contained in:
Attila Fazekas
2014-10-29 07:04:25 +01:00
parent cb43b3153a
commit 50032b57c1

View File

@@ -18,7 +18,7 @@
export PATH=$PATH:/usr/local/sbin:/usr/sbin
for ip in `cat /etc/nodepool/primary_node /etc/nodepool/sub_nodes`; do
for ip in `cat /etc/nodepool/primary_node /etc/nodepool/sub_nodes /etc/nodepool/primary_node_private /etc/nodepool/sub_nodes_private | sort -u`; do
sudo iptables -I openstack-INPUT 1 -s $ip -j ACCEPT
done