Update installation script with QEMU setup and auto-cpufreq fix

Removed unnecessary sudo from auto-cpufreq installation command for better compatibility. Added a conditional QEMU and virtualization setup to streamline virtual machine installations and configurations. Includes user group adjustments and default network setup for libvirt.
This commit is contained in:
2026-08-13 17:16:56 +02:00
parent cb89d422e7
commit ddf8585a16
+14 -1
View File
@@ -112,7 +112,7 @@ curl -s -Lo ~/AM-INSTALLER https://raw.githubusercontent.com/ivan-hc/AM/main/AM-
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
cd auto-cpufreq && sudo ./auto-cpufreq-installer
sudo auto-cpufreq --install
auto-cpufreq --install
# heroic games launcher
#sudo deb-get install heroic
@@ -123,3 +123,16 @@ curl -fsSL "https://steambrew.app/install.sh" | bash
# RUN Linutil
curl -fsSL https://christitus.com/linux | sh
# Qemu, Virtual Machine Install
if [ $(grep -Eoc '(vmx|svm)' /proc/cpuinfo) -gt 0 ]; then
apt install -y qemu-system-x86 qemu-utils libvirt-daemon-system libvirt-clients virt-manager
systemctl enable --now libvirtd.service
usermod -aG libvirt "$USER"
virsh net-start default
virsh net-autostart default
else
echo "No virtualisation Support. Check BIOS for Intel VT-x, Intel Virtualization Technology, AMD-V, or SVM Mode.
fi