「インストール - Zsh」の版間の差分

ナビゲーションに移動 検索に移動
334行目: 334行目:
     if [ -n "$NETWORK_STATUS" ]; then
     if [ -n "$NETWORK_STATUS" ]; then
       sudo virsh net-start default
       sudo virsh net-start default
    fi
    local FIREWALL_STATUS=$(sudo systemctl status firewalld | grep "Active:" | grep -ie "running")
    if [ -n "FIREWALL_STATUS" ]; then
      sudo systemctl stop firewalld
     fi
     fi
  }
  }
348行目: 353行目:
     if [ -n "KVM_STATUS" ]; then
     if [ -n "KVM_STATUS" ]; then
       sudo systemctl stop libvirtd libvirtd.socket libvirtd-admin.socket libvirtd-ro.socket
       sudo systemctl stop libvirtd libvirtd.socket libvirtd-admin.socket libvirtd-ro.socket
    fi
    local FIREWALL_STATUS=$(sudo systemctl status firewalld | grep "Active:" | grep -ie "dead")
    if [ -n "FIREWALL_STATUS" ]; then
      sudo systemctl restart firewalld
     fi
     fi
  }
  }

案内メニュー