Add a script for installing virt-manager

This commit is contained in:
Manuel Thalmann 2022-11-23 09:05:36 +01:00
parent c9fd93d649
commit c589396170
2 changed files with 10 additions and 0 deletions

View file

@ -45,6 +45,7 @@ source "$softwareRoot/nodejs.sh"
source "$softwareRoot/java.sh" source "$softwareRoot/java.sh"
source "$softwareRoot/tea.sh" source "$softwareRoot/tea.sh"
source "$softwareRoot/godot.sh" source "$softwareRoot/godot.sh"
source "$softwareRoot/virt-manager.sh"
# Install other flatpaks # Install other flatpaks
flatpak install -y flathub com.bitwarden.desktop flatpak install -y flathub com.bitwarden.desktop

View file

@ -0,0 +1,9 @@
#!/bin/bash
# Elevate script
if [ ! "$UID" -eq 0 ]
then
sudo bash "$BASH_SOURCE"
else
sudo apt update
sudo apt install -y swtpm swtpm-tools libvirt-daemon-system virt-manager
fi