add option to use sudo with non privileged user

This commit is contained in:
Roni Väyrynen
2021-12-06 13:49:26 +02:00
parent 11460c3841
commit 820581cad0
2 changed files with 62 additions and 2 deletions

View File

@@ -2,6 +2,16 @@
# default: root
#XOUSER=
# Optional parameter if running as non privileged user to use sudo when mounting/umounting shares inside Xen Orchestra
# no effect if XOUSER is root
# options true/false
#USESUDO=false
# Optional parameter to generate sudoers config when missing completely if USESUDO is set to true
# no effect if XOUSER is root
# options true/false
#GENSUDO=false
# Port number where xen-orchestra service is bound
PORT="80"