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 b8ddaf1bcc3..4b3cb5f7013 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -691,7 +691,7 @@ setup_router() { disable_rpfilter_domR enable_fwding 1 chkconfig nfs-common off - cp /etc/iptables/iptables-router /etc/iptables/rules + cp /etc/iptables/iptables-router /etc/iptables/rules.v4 setup_sshd $ETH1_IP "eth1" } @@ -763,7 +763,7 @@ EOF enable_svc cloud 0 disable_rpfilter enable_fwding 1 - cp /etc/iptables/iptables-vpcrouter /etc/iptables/rules + cp /etc/iptables/iptables-vpcrouter /etc/iptables/rules.v4 setup_sshd $ETH0_IP "eth0" cp /etc/vpcdnsmasq.conf /etc/dnsmasq.conf cp /etc/cloud-nic.rules /etc/udev/rules.d/cloud-nic.rules @@ -789,7 +789,7 @@ setup_dhcpsrvr() { enable_svc cloud 0 enable_fwding 0 chkconfig nfs-common off - cp /etc/iptables/iptables-router /etc/iptables/rules + cp /etc/iptables/iptables-router /etc/iptables/rules.v4 if [ "$SSHONGUEST" == "true" ] then setup_sshd $ETH0_IP "eth0" @@ -824,7 +824,7 @@ setup_secstorage() { [ "$ETH2_IP" == "0.0.0.0" ] && public_ip=$ETH1_IP echo "$public_ip $NAME" >> /etc/hosts - cp /etc/iptables/iptables-secstorage /etc/iptables/rules + cp /etc/iptables/iptables-secstorage /etc/iptables/rules.v4 if [ "$hyp" == "vmware" ]; then setup_sshd $ETH1_IP "eth1" else @@ -848,7 +848,7 @@ setup_console_proxy() { [ "$ETH2_IP" == "0.0.0.0" ] && public_ip=$ETH1_IP sed -i /gateway/d /etc/hosts echo "$public_ip $NAME" >> /etc/hosts - cp /etc/iptables/iptables-consoleproxy /etc/iptables/rules + cp /etc/iptables/iptables-consoleproxy /etc/iptables/rules.v4 if [ "$hyp" == "vmware" ]; then setup_sshd $ETH1_IP "eth1" else @@ -873,7 +873,7 @@ setup_elbvm() { [ "$ETH2_IP" == "0.0.0.0" ] || [ "$ETH2_IP" == "" ] && public_ip=$ETH0_IP echo "$public_ip $NAME" >> /etc/hosts - cp /etc/iptables/iptables-elbvm /etc/iptables/rules + cp /etc/iptables/iptables-elbvm /etc/iptables/rules.v4 if [ "$SSHONGUEST" == "true" ] then setup_sshd $ETH0_IP "eth0"