From 63bb98ebe2fa8279138f8b32aa4264b547726224 Mon Sep 17 00:00:00 2001 From: Chiradeep Vittal Date: Mon, 29 Apr 2013 18:29:25 -0700 Subject: [PATCH] allow ssh on eth1 Signed-off-by: Chiradeep Vittal --- .../systemvm/debian/config/etc/init.d/cloud-early-config | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config index bdba38dee44..c95d4000c22 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -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