Don't call bash repeatedly

The first command started a bash shell as root, everything
below that shouldn't need sudo. But this way, we make sure
we become root at the last moment possible and prevent
using curl as root.
This commit is contained in:
Braiam Peguero 2020-01-01 00:09:57 -04:00 committed by GitHub
parent 6549f9fa8f
commit b1741267b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -4,9 +4,7 @@ Xen-Orchestra (Community Edition) allows you to administer Citrix XenServer and
The single line installation script allows you to go from a bare-minimal installation of [Ubuntu](https://ubuntu.com/download/server) or [Debian (Server)](https://www.debian.org/distrib/netinst) to fully operational XOCE server. Run the following steps from a root shell.
sudo bash
<password>
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bash
curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | sudo bash
<password>
The default username and password are applied, admin@admin.net and admin for the password