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:
+14
-1
@@ -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
|
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
||||||
cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
||||||
|
|
||||||
sudo auto-cpufreq --install
|
auto-cpufreq --install
|
||||||
|
|
||||||
# heroic games launcher
|
# heroic games launcher
|
||||||
#sudo deb-get install heroic
|
#sudo deb-get install heroic
|
||||||
@@ -123,3 +123,16 @@ curl -fsSL "https://steambrew.app/install.sh" | bash
|
|||||||
|
|
||||||
# RUN Linutil
|
# RUN Linutil
|
||||||
curl -fsSL https://christitus.com/linux | sh
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user