allow ssh on eth1 Signed-off-by: Chiradeep Vittal <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/63bb98eb Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/63bb98eb Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/63bb98eb Branch: refs/heads/internallb Commit: 63bb98ebe2fa8279138f8b32aa4264b547726224 Parents: ca1c313 Author: Chiradeep Vittal <[email protected]> Authored: Mon Apr 29 18:29:25 2013 -0700 Committer: Alena Prokharchyk <[email protected]> Committed: Tue Apr 30 09:27:34 2013 -0700 ---------------------------------------------------------------------- .../debian/config/etc/init.d/cloud-early-config | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/63bb98eb/patches/systemvm/debian/config/etc/init.d/cloud-early-config ---------------------------------------------------------------------- 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 bdba38d..c95d400 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
