diff --git a/README.md b/README.md index be2c07e..63f5278 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Below is a list of packages that will be installed if missing. CentOS: - curl - epel-release -- nodejs (v12) +- nodejs (v14) - npm (v3) - yarn - gcc @@ -109,7 +109,7 @@ Debian/Ubuntu: - libcap2-bin - curl - yarn -- nodejs (v12) (possible debian 10 default nodejs v10 will be replaced) +- nodejs (v14) - npm (v3) - build-essential - redis-server diff --git a/sample.xo-install.cfg b/sample.xo-install.cfg index 9d16d21..9ca3cb6 100644 --- a/sample.xo-install.cfg +++ b/sample.xo-install.cfg @@ -29,6 +29,7 @@ BRANCH="master" PLUGINS="all" # NodeJS and Yarn are automatically updated when running update/install. Can be disabled but not recommended (installation might fail because of too old node.js or yarn) +# Note that if nodejs is updated when script's update feature is used, it might not be possible to use rollback option anymore without manually downgrading nodejs version to previous one AUTOUPDATE="true" # Define the number of previous installations you want to keep. Needs to be at least 1 diff --git a/xo-install.sh b/xo-install.sh index 01cb482..d8cbe26 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -33,7 +33,7 @@ REPOSITORY="${REPOSITORY:-"https://github.com/vatesfr/xen-orchestra"}" TIME=$(date +%Y%m%d%H%M) LOGTIME=$(date "+%Y-%m-%d %H:%M:%S") LOGFILE="${LOGPATH}/xo-install.log-$TIME" -NODEVERSION="12" +NODEVERSION="14" # Set path where new source is cloned/pulled XO_SRC_DIR="$INSTALLDIR/xo-src/xen-orchestra"