mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Automatic install option for Webvirtcloud is added (beta)
This commit is contained in:
parent
c2bd8d8547
commit
7dd9127572
3 changed files with 524 additions and 6 deletions
13
install.sh
Normal file
13
install.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# ensure running as root
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
#Debian doesnt have sudo if root has a password.
|
||||
if ! hash sudo 2>/dev/null; then
|
||||
exec su -c "$0" "$@"
|
||||
else
|
||||
exec sudo "$0" "$@"
|
||||
fi
|
||||
fi
|
||||
|
||||
wget https://raw.githubusercontent.com/retspen/webvirtcloud/master/webvirtcloud.sh
|
||||
chmod 744 webvirtcloud.sh
|
||||
./webvirtcloud.sh 2>&1 | tee -a /var/log/webvirtcloud-install.log
|
||||
Loading…
Add table
Add a link
Reference in a new issue