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
|
#!/bin/bash
|
||||||
# Elevate script
|
sudo apt install -y swtpm swtpm-tools libvirt-daemon-system virt-manager
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in a new issue