From e11e7587df6ba02ba1d6bcc9cf7faaf6e2911e81 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 1 Dec 2023 19:43:42 -0700 Subject: [PATCH] Fix indentation Signed-off-by: Tommy --- RHEL-Server-9.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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