-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
69 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "############################################################################################################" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
102 changes: 0 additions & 102 deletions
102
Personal/settings/obs-studio/basic/profiles/Untitled/basic.ini
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.