allow ssh on eth1

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
This commit is contained in:
Chiradeep Vittal 2013-04-29 18:29:25 -07:00 committed by Alena Prokharchyk
parent ca1c313c29
commit 63bb98ebe2
1 changed files with 2 additions and 6 deletions

View File

@ -904,13 +904,9 @@ setup_ilbvm() {
setup_common eth0 eth1
#eth0 = guest network, eth1=control network
cp /etc/iptables/iptables-ilbvm /etc/iptables/rules.v4
cp /etc/iptables/iptables-ilbvm /etc/iptables/rules
if [ "$SSHONGUEST" == "true" ]
then
setup_sshd $ETH0_IP "eth0"
else
setup_sshd $ETH1_IP "eth1"
fi
setup_sshd $ETH1_IP "eth1"
enable_fwding 0
enable_svc haproxy 1