diff --git a/RHEL-Server-9.sh b/RHEL-Server-9.sh index f764bfb..b5f0a36 100644 --- a/RHEL-Server-9.sh +++ b/RHEL-Server-9.sh @@ -163,15 +163,15 @@ sudo dnf install tuned -y virt_type=$(echo $(virt-what)) if [ "$virt_type" = "" ]; then - output "Virtualization: Bare Metal." + output "Virtualization: Bare Metal." elif [ "$virt_type" = "openvz lxc" ]; then - output "Virtualization: OpenVZ 7." + output "Virtualization: OpenVZ 7." elif [ "$virt_type" = "xen xen-hvm" ]; then - output "Virtualization: Xen-HVM." + output "Virtualization: Xen-HVM." elif [ "$virt_type" = "xen xen-hvm aws" ]; then - output "Virtualization: Xen-HVM on AWS." + output "Virtualization: Xen-HVM on AWS." else - output "Virtualization: $virt_type." + output "Virtualization: $virt_type." fi # Setup tuned @@ -183,9 +183,9 @@ fi # Setup real-ucode if [ "$virt_type" = "" ]; then - sudo dnf install 'https://divested.dev/rpm/fedora/divested-release-20230406-2.noarch.rpm' - sudo sed -i 's/^metalink=.*/&?protocol=https/g' /etc/yum.repos.d/divested-release.repo - sudo dnf config-manager --save --setopt=divested.includepkgs=divested-release,real-ucode,microcode_ctl,amd-ucode-firmware - sudo dnf install real-ucode - sudo dracut -f + sudo dnf install 'https://divested.dev/rpm/fedora/divested-release-20230406-2.noarch.rpm' + sudo sed -i 's/^metalink=.*/&?protocol=https/g' /etc/yum.repos.d/divested-release.repo + sudo dnf config-manager --save --setopt=divested.includepkgs=divested-release,real-ucode,microcode_ctl,amd-ucode-firmware + sudo dnf install real-ucode + sudo dracut -f fi \ No newline at end of file