diff --git a/Fedora-Workstation-38.sh b/Fedora-Workstation-38.sh index 69cbaf5..0d916a7 100644 --- a/Fedora-Workstation-38.sh +++ b/Fedora-Workstation-38.sh @@ -76,8 +76,8 @@ org/gnome/desktop/media-handling/automount-open' | sudo tee /etc/dconf/db/local. sudo dconf update # Speed up DNF -echo 'fastestmirror=1' | sudo tee -a /etc/dnf/dnf.conf -echo 'countme=false' | sudo tee -a /etc/dnf/dnf.conf +echo -e 'fastestmirror=1\nmax_parallel_downloads=10\ndeltarpm=False\ndefaultyes=True\ninstall_weak_deps=False\ncountme=False' | sudo tee -a /etc/dnf/dnf.conf +sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/* # Update packages and firmware sudo dnf upgrade -y diff --git a/RHEL-Server-9.sh b/RHEL-Server-9.sh index ad71540..a3b2946 100644 --- a/RHEL-Server-9.sh +++ b/RHEL-Server-9.sh @@ -57,6 +57,10 @@ sudo curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/s sudo systemctl daemon-reload sudo systemctl restart irqbalance +# Setup dnf +echo -e 'fastestmirror=1\nmax_parallel_downloads=10\ndeltarpm=False\ndefaultyes=True\ninstall_weak_deps=False\ncountme=False' | sudo tee -a /etc/dnf/dnf.conf +sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/* + # Setup unbound sudo dnf install unbound -y