update sample configuration comments and add default values for https cert/key
This commit is contained in:
@@ -20,12 +20,12 @@ BRANCH="master"
|
||||
# Installation log path. If this is commented, the default path is logs directory inside this script root
|
||||
#LOGPATH="/tmp/example/logs"
|
||||
|
||||
# Only one PLUGIN variable can be used at a time. Comment out the other one if you change these below. Comment out both if you don't want any plugins to be installed.
|
||||
# Only one PLUGINS variable can be used at a time. Comment out the other one if you change these below. Comment out both if you don't want any plugins to be installed.
|
||||
|
||||
# Comma separated list of plugins to be installed, check README for more information. Note that 3rd party plugins defined below should be listed here as well with their name eq. repo1,repo2 etc.
|
||||
#PLUGINS="xo-server-transport-email,xo-server-usage-report,xo-server-perf-alert"
|
||||
|
||||
# (default) all plugins will be installed
|
||||
# (default) all plugins will be installed, including possible 3rd-party plugins if defined.
|
||||
PLUGINS="all"
|
||||
|
||||
# Additional 3rd-party plugins to fetch. Keep the .git suffix.
|
||||
@@ -41,9 +41,9 @@ OS_CHECK="true"
|
||||
# enable/disable architecture check. Installation refuses to run on any other than x86_64 if enabled. Can be disabled for experimental purposes.
|
||||
ARCH_CHECK="true"
|
||||
|
||||
# Define the number of previous installations you want to keep. Needs to be at least 1
|
||||
# Define the number of previous successful installations you want to keep. Needs to be at least 1. Determines how far the rollback feature can be used.
|
||||
PRESERVE="3"
|
||||
|
||||
# X.509 certificate setup.
|
||||
PATH_TO_HTTPS_CERT=
|
||||
PATH_TO_HTTPS_KEY=
|
||||
# Location of pem certificate/key files. Installation will automatically configure HTTPS if these are defined. Remember to change PORT variable as well.
|
||||
#PATH_TO_HTTPS_CERT=
|
||||
#PATH_TO_HTTPS_KEY=
|
||||
|
@@ -33,6 +33,8 @@ ADDITIONAL_PLUGINS="${ADDITIONAL_PLUGINS:-"none"}"
|
||||
REPOSITORY="${REPOSITORY:-"https://github.com/vatesfr/xen-orchestra"}"
|
||||
OS_CHECK="${OS_CHECK:-"true"}"
|
||||
ARCH_CHECK="${ARCH_CHECK:-"true"}"
|
||||
PATH_TO_HTTPS_CERT="${PATH_TO_HTTPS_CERT:-""}"
|
||||
PATH_TO_HTTPS_KEY="${PATH_TO_HTTPS_KEY:-""}"
|
||||
|
||||
# set variables not changeable in configfile
|
||||
TIME=$(date +%Y%m%d%H%M)
|
||||
|
Reference in New Issue
Block a user