Simplify virt-manager script

This commit is contained in:
Manuel Thalmann 2022-11-23 09:06:14 +01:00
parent c589396170
commit 67a8fa8aa1

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