Kaynağa Gözat

chkconfig firewalld off

Serghey Rodin 7 yıl önce
ebeveyn
işleme
07a7c90cf6
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      install/vst-install-rhel.sh

+ 3 - 0
install/vst-install-rhel.sh

@@ -671,6 +671,8 @@ fi
 
 # Disabling iptables
 service iptables stop
+service firewalld stop >/dev/null 2>&1
+
 
 # Configuring NTP synchronization
 echo '#!/bin/sh' > /etc/cron.daily/ntpdate
@@ -1273,6 +1275,7 @@ ip=$(ip addr|grep 'inet '|grep global|head -n1|awk '{print $2}'|cut -f1 -d/)
 
 # Configuring firewall
 if [ "$iptables" = 'yes' ]; then
+    chkconfig firewalld off >/dev/null 2>&1
     $VESTA/bin/v-update-firewall
 fi