mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-21 17:11:33 -05:00
Split out dnf config
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
90eaa4aab1
commit
9dbb4a3dd4
@ -96,7 +96,7 @@ sudo dconf update
|
||||
echo -e '[zram0]\nzram-fraction = 1\nmax-zram-size = 8192\ncompression-algorithm = zstd' | sudo tee /etc/systemd/zram-generator.conf
|
||||
|
||||
# Speed up DNF
|
||||
echo -e 'max_parallel_downloads=10\ndeltarpm=False\ndefaultyes=True\ninstall_weak_deps=False\ncountme=False' | sudo tee -a /etc/dnf/dnf.conf
|
||||
sudo curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dnf/dnf.conf -o /etc/dnf/dnf.conf
|
||||
sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/*
|
||||
|
||||
# Update packages and firmware
|
||||
|
@ -66,7 +66,7 @@ sudo systemctl daemon-reload
|
||||
sudo systemctl restart irqbalance
|
||||
|
||||
# Setup dnf
|
||||
echo -e 'max_parallel_downloads=10\ndeltarpm=False\ndefaultyes=True\ninstall_weak_deps=False\ncountme=False' | sudo tee -a /etc/dnf/dnf.conf
|
||||
sudo curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dnf/dnf.conf -o /etc/dnf/dnf.conf
|
||||
sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/*
|
||||
|
||||
# Setup unbound
|
||||
|
5
etc/dnf/dnf.conf
Normal file
5
etc/dnf/dnf.conf
Normal file
@ -0,0 +1,5 @@
|
||||
max_parallel_downloads=10
|
||||
deltarpm=False
|
||||
defaultyes=True
|
||||
install_weak_deps=False
|
||||
countme=False
|
Loading…
Reference in New Issue
Block a user