Jarli01 / xenorchestra_installer

A simple install script for Xen Orchestra
GNU General Public License v3.0
428 stars 86 forks source link

Don't call bash repeatedly #65

Closed braiam closed 4 years ago

braiam commented 4 years ago

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 change is Reviewable

Jarli01 commented 4 years ago

Sorry for the delay in the testing of this, I'll confirm and merge this if it works but I recall experiencing an issue without this initial elevation from a while back...