Simplify virt-manager script
This commit is contained in:
parent
c589396170
commit
67a8fa8aa1
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue