1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-10-18 02:35:12 -04:00

Compare commits

..

No commits in common. "0ce4a7b30e3b2d9ca115e0a1b331077cbe87c76f" and "effebda27a3c974a064f608cafda69b617b72645" have entirely different histories.

4 changed files with 9 additions and 23 deletions

View File

@ -196,9 +196,6 @@ if [ "$virt_type" = '' ]; then
# Don't know whether using tuned would be a good idea on a laptop, power-profiles-daemon should be handling performance tuning IMO.
sudo dnf remove tuned -y
else
if [ "$virt_type" = 'kvm' ]; then
sudo dnf install qemu-guest-agent -y
fi
sudo tuned-adm profile virtual-guest
fi

View File

@ -14,6 +14,8 @@
# License for the specific language governing permissions and limitations under
# the License.
#Assuming that you are using ANSSI-BP-028
output(){
echo -e '\e[36m'"$1"'\e[0m';
}
@ -81,10 +83,6 @@ unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd
sudo systemctl daemon-reload
sudo systemctl restart irqbalance
# Remove packages
sudo dnf remove baobab chrome-gnome-shell evince firefox gedit gnome-calculator gnome-characters gnome-font-viewer gnome-screenshot gnome-tour qemu-guest-agent 'sssd*' 'yelp*'
# Setup dnf
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dnf/dnf.conf | sudo tee /etc/dnf/dnf.conf
sudo sed -i 's/^metalink=.*/&\&protocol=https/g' /etc/yum.repos.d/*
@ -187,9 +185,6 @@ fi
# Setup tuned
if [ "$virt_type" = '' ]; then
sudo tuned-adm profile latency-performance
if [ "$virt_type" = 'kvm' ]; then
sudo dnf install qemu-guest-agent -y
fi
else
sudo tuned-adm profile virtual-guest
fi

View File

@ -123,9 +123,6 @@ fi
if [ "$virt_type" = "" ]; then
sudo tuned-adm profile latency-performance
else
if [ "$virt_type" = 'kvm' ]; then
sudo apt install qemu-guest-agent -y
fi
sudo tuned-adm profile virtual-guest
fi

View File

@ -198,8 +198,5 @@ if [ "$virt_type" = '' ]; then
sudo apt remove tuned -y
sudo apt autoremove -y
else
if [ "$virt_type" = 'kvm' ]; then
sudo apt install qemu-guest-agent -y
fi
sudo tuned-adm profile virtual-guest
fi