mirror of https://github.com/apache/cloudstack.git
regression, need to modify iptables rules in rules.v4
This commit is contained in:
parent
7fa57922a4
commit
1c89bc78fd
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue