1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-09-16 12:14:42 -04:00

Do not remove fwupd on RHEL for now

RHEL has broken dependency resolution for this one

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-08-25 11:58:05 -07:00 committed by GitHub
parent be23c136ca
commit e1a71ac2a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -164,7 +164,7 @@ sudo systemctl enable fstrim.timer
### Differentiating bare metal and virtual installs
# Setup fwupd
if [ "$virtualization" = 'none' ]; then
#if [ "$virtualization" = 'none' ]; then
sudo dnf install -y fwupd
echo 'UriSchemes=file;https' | sudo tee -a /etc/fwupd/fwupd.conf
sudo systemctl restart fwupd
@ -173,9 +173,9 @@ if [ "$virtualization" = 'none' ]; then
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl enable --now fwupd-refresh.timer
else
sudo dnf remove -y fwupd
fi
#else
# sudo dnf remove -y fwupd
#fi
# Setup tuned
sudo dnf install -y tuned
@ -215,4 +215,4 @@ sudo chmod 644 /etc/issue.net
# Final notes to the user
output 'Server setup complete. To use unbound for DNS, you need to run the following commands:'
output 'nmcli con mod <interface name> ipv4.dns 127.0.0.1'
output 'nmcli con mod <interface name> ipv6.dns ::1'
output 'nmcli con mod <interface name> ipv6.dns ::1'