From 1c89bc78fd02f394f933a6bc0f8c2e029b8d514d Mon Sep 17 00:00:00 2001 From: Edison Su Date: Wed, 24 Apr 2013 14:52:44 -0700 Subject: [PATCH] regression, need to modify iptables rules in rules.v4 --- patches/systemvm/debian/config/etc/init.d/cloud-early-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4b3cb5f7013..187ae25c40c 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 }