regression, need to modify iptables rules in rules.v4

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1c89bc78
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1c89bc78
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1c89bc78

Branch: refs/heads/marvin_refactor
Commit: 1c89bc78fd02f394f933a6bc0f8c2e029b8d514d
Parents: 7fa5792
Author: Edison Su <sudi...@gmail.com>
Authored: Wed Apr 24 14:52:44 2013 -0700
Committer: Edison Su <sudi...@gmail.com>
Committed: Wed Apr 24 14:52:44 2013 -0700

----------------------------------------------------------------------
 .../debian/config/etc/init.d/cloud-early-config    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1c89bc78/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 4b3cb5f..187ae25 100755
--- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config
+++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config
@@ -519,7 +519,7 @@ setup_sshd(){
   local ip=$1
   local eth=$2
   [ -f /etc/ssh/sshd_config ] && sed -i -e 
"s/^[#]*ListenAddress.*$/ListenAddress $ip/" /etc/ssh/sshd_config
-  sed -i "/3922/s/eth./$eth/" /etc/iptables/rules
+  sed -i "/3922/s/eth./$eth/" /etc/iptables/rules.v4
 }
 
 

Reply via email to