added curl for rhel

This commit is contained in:
2022-11-19 17:21:59 -05:00
parent c0024db275
commit d6cb0547ef

View File

@@ -16,7 +16,7 @@ if [ -f /etc/debian_version ]; then
apt update
apt install -y snmpd curl
elif [ -f /etc/redhat-release ]; then
dnf install -y net-snmp net-snmp-utils
dnf install -y net-snmp net-snmp-utils curl
firewall-cmd --zone=public --add-service=snmp --permanent
firewall-cmd --reload
else