upgrade to nodejs 14.x, #62
This commit is contained in:
@@ -87,7 +87,7 @@ Below is a list of packages that will be installed if missing.
|
|||||||
CentOS:
|
CentOS:
|
||||||
- curl
|
- curl
|
||||||
- epel-release
|
- epel-release
|
||||||
- nodejs (v12)
|
- nodejs (v14)
|
||||||
- npm (v3)
|
- npm (v3)
|
||||||
- yarn
|
- yarn
|
||||||
- gcc
|
- gcc
|
||||||
@@ -109,7 +109,7 @@ Debian/Ubuntu:
|
|||||||
- libcap2-bin
|
- libcap2-bin
|
||||||
- curl
|
- curl
|
||||||
- yarn
|
- yarn
|
||||||
- nodejs (v12) (possible debian 10 default nodejs v10 will be replaced)
|
- nodejs (v14)
|
||||||
- npm (v3)
|
- npm (v3)
|
||||||
- build-essential
|
- build-essential
|
||||||
- redis-server
|
- redis-server
|
||||||
|
@@ -29,6 +29,7 @@ BRANCH="master"
|
|||||||
PLUGINS="all"
|
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)
|
# 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"
|
AUTOUPDATE="true"
|
||||||
|
|
||||||
# Define the number of previous installations you want to keep. Needs to be at least 1
|
# Define the number of previous installations you want to keep. Needs to be at least 1
|
||||||
|
@@ -33,7 +33,7 @@ REPOSITORY="${REPOSITORY:-"https://github.com/vatesfr/xen-orchestra"}"
|
|||||||
TIME=$(date +%Y%m%d%H%M)
|
TIME=$(date +%Y%m%d%H%M)
|
||||||
LOGTIME=$(date "+%Y-%m-%d %H:%M:%S")
|
LOGTIME=$(date "+%Y-%m-%d %H:%M:%S")
|
||||||
LOGFILE="${LOGPATH}/xo-install.log-$TIME"
|
LOGFILE="${LOGPATH}/xo-install.log-$TIME"
|
||||||
NODEVERSION="12"
|
NODEVERSION="14"
|
||||||
|
|
||||||
# Set path where new source is cloned/pulled
|
# Set path where new source is cloned/pulled
|
||||||
XO_SRC_DIR="$INSTALLDIR/xo-src/xen-orchestra"
|
XO_SRC_DIR="$INSTALLDIR/xo-src/xen-orchestra"
|
||||||
|
Reference in New Issue
Block a user