Skip to content

Commit

Permalink
new virtmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
thorrrr committed Mar 15, 2024
1 parent 94c5955 commit c658112
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 182 deletions.
69 changes: 69 additions & 0 deletions AUR/install-qemu-old.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#!/bin/bash
#set -e
##################################################################################################################
# Author : Dale Holden
##################################################################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
##################################################################################################################
#tput setaf 0 = black
#tput setaf 1 = red
#tput setaf 2 = green
#tput setaf 3 = yellow
#tput setaf 4 = dark blue
#tput setaf 5 = purple
#tput setaf 6 = cyan
#tput setaf 7 = gray
#tput setaf 8 = light blue
##################################################################################################################

#tutorial https://www.youtube.com/watch?v=JxSGT_3UU8w

#https://computingforgeeks.com/install-kvm-qemu-virt-manager-arch-manjar/

sudo pacman -Rdd iptables --noconfirm
sudo pacman -S --noconfirm --needed iptables-nft
sudo pacman -S --noconfirm --needed ebtables

sudo pacman -S --noconfirm --needed qemu-full
sudo pacman -S --noconfirm --needed virt-manager
sudo pacman -S --noconfirm --needed virt-viewer
sudo pacman -S --noconfirm --needed dnsmasq
sudo pacman -S --noconfirm --needed vde2
sudo pacman -S --noconfirm --needed bridge-utils
#ovmf
sudo pacman -S --noconfirm --needed edk2-ovmf

#sudo pacman -S --noconfirm --needed spice-vdagent
#sudo pacman -S --noconfirm --needed xf86-video-qxl

sudo pacman -S --noconfirm --needed dmidecode

#starting service

sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service


echo -e "options kvm-intel nested=1" | sudo tee -a /etc/modprobe.d/kvm-intel.conf

user=$(whoami)
sudo gpasswd -a $user libvirt
sudo gpasswd -a $user kvm


echo '
nvram = [
"/usr/share/ovmf/x64/OVMF_CODE.fd:/usr/share/ovmf/x64/OVMF_VARS.fd"
]' | sudo tee --append /etc/libvirt/qemu.conf

sudo virsh net-define /etc/libvirt/qemu/networks/default.xml

sudo virsh net-autostart default

sudo systemctl restart libvirtd.service

echo "############################################################################################################"
echo "##################### FIRST REBOOT #####################"
echo "############################################################################################################"
6 changes: 0 additions & 6 deletions AUR/install-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ user=$(whoami)
sudo gpasswd -a $user libvirt
sudo gpasswd -a $user kvm


echo '
nvram = [
"/usr/share/ovmf/x64/OVMF_CODE.fd:/usr/share/ovmf/x64/OVMF_VARS.fd"
]' | sudo tee --append /etc/libvirt/qemu.conf

sudo virsh net-define /etc/libvirt/qemu/networks/default.xml

sudo virsh net-autostart default
Expand Down
102 changes: 0 additions & 102 deletions Personal/settings/obs-studio/basic/profiles/Untitled/basic.ini

This file was deleted.

1 change: 0 additions & 1 deletion Personal/settings/obs-studio/basic/scenes/Untitled.json

This file was deleted.

This file was deleted.

72 changes: 0 additions & 72 deletions Personal/settings/obs-studio/global.ini

This file was deleted.

0 comments on commit c658112

Please sign in to comment.