Fixed iptables restart bug, network restart is only required on ubuntu, not centos/redhat