Simplify virt-manager script

This commit is contained in:
Manuel Thalmann 2022-11-23 09:06:14 +01:00
parent 3174a040b3
commit 4c31cea960

View file

@ -1,9 +1,2 @@
#!/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
sudo apt install -y swtpm swtpm-tools libvirt-daemon-system virt-manager