Update InstallNET.sh

This commit is contained in:
Molly Lau 2023-10-07 14:39:47 +09:00 committed by GitHub
parent 65c33a0855
commit aa3cedec69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1254,6 +1254,7 @@ function checkSys() {
if [[ $? -eq 0 ]]; then
# To avoid "Failed loading plugin "osmsplugin": No module named 'librepo'"
# Reference: https://anatolinicolae.com/failed-loading-plugin-osmsplugin-no-module-named-librepo/
dnf makecache
[[ "$CurrentOS" == "CentOS" && "$CurrentOSVer" == "8" ]] && dnf install python3-librepo -y
# Redhat like linux OS necessary components.
dnf install bind-utils cpio curl dmidecode dnsutils efibootmgr file gzip jq net-tools openssl redhat-lsb syslinux tuned util-linux virt-what wget xz --skip-broken -y