Commit Graph

169 Commits

Author SHA1 Message Date
ronivay
c383d0192a make sure add-apt-repository command is available for ubuntu installations 2021-07-19 12:30:43 +03:00
ronivay
48e24b021f check existense of xe binary before checking OS 2021-07-06 00:23:12 +03:00
ronivay
ef16d2813e remove leftover commented line 2021-07-05 15:20:14 +03:00
ronivay
de2eca7445 ignore SC2094 in runcmd_stdout 2021-07-05 12:20:06 +03:00
ronivay
df13fe8025 increase logging verbosity and error handling 2021-07-05 12:15:12 +03:00
ronivay
3385195df6 update sample configuration comments and add default values for https cert/key 2021-07-04 18:05:10 +03:00
ronivay
b0b76b6f05 execute and log commands in single function instead of separate lines 2021-07-04 17:09:20 +03:00
ronivay
232feb6b92 update readme and adjust rollback menu option 2021-07-03 12:38:21 +03:00
ronivay
927f9f2f3e change menu option descriptions 2021-07-02 21:23:12 +03:00
ronivay
956d029d45 remove obsolete xe command check under os check 2021-07-01 14:48:05 +03:00
ronivay
eccb9ad776 remove obsolete yarn tasks from plugin installation 2021-07-01 14:18:19 +03:00
ronivay
58d2a853d5 adjust additional plugin install output 2021-07-01 13:53:17 +03:00
ronivay
25e85f5fbc fix shellcheck issues in scripts 2021-07-01 13:42:29 +03:00
Roni Väyrynen
f249aec91a Merge pull request #86 from ixs/add_plugins
Add ability to install 3rd party plugins
2021-06-30 16:04:01 +03:00
ronivay
9ffb104710 set default value for ADDITIONAL_PLUGINS variable in xo-install.sh 2021-06-30 15:55:31 +03:00
Andreas Thienemann
c7a90a2de0 Add ability to install 3rd party plugins
Depending on the situation, a user might have third party plugins that
are needed for their XO setup. We're using a mysql auth plugin, but
github has a handful of other third party plugins.

Added: config setting ADDITIONAL_PLUGINS to specify git repo URLs.
Added: InstallAdditionalXOPlugins function to download/update these
       repos and add them to the XO source tree before building.
2021-06-28 22:28:41 +02:00
Andreas Thienemann
73c9a0c348 Add Rocky Linux 8 support 2021-06-28 15:39:39 +02:00
ronivay
8192fbc538 Log script version and used config file content 2021-06-15 10:41:24 +03:00
ronivay
b3bdd02e1b improve logging of xen orchestra sources branch and commit 2021-06-15 10:04:50 +03:00
maxcerny
36872787fd Update xo-install.sh
Fix freezing on checking for universe.
2021-06-04 11:21:23 +02:00
ronivay
d04957b972 Fix systemd service executable path 2021-05-20 20:08:13 +03:00
ronivay
a8f45260f4 fixes #76 2021-05-04 18:44:06 +03:00
ronivay
6eff84ff5d move osname/osversion checks to beginning of checkos function 2021-05-03 17:38:14 +03:00
ronivay
f71634e960 fail if yum/apt-get is missing even if os check is disabled 2021-05-03 17:32:43 +03:00
ronivay
004527ab3a Add support for AlmaLinux 2021-05-03 17:15:27 +03:00
ronivay
d13badd39e remove obsolete version check as centos7 isn't supported anymore 2021-05-03 16:42:15 +03:00
ronivay
a97404ad9c fix indentation in plugins installation 2021-05-03 16:41:14 +03:00
ronivay
373aec180b remove https error message 2021-05-03 15:27:23 +03:00
ronivay
bb7c523ddf fix centos version check and log pkg manager checks 2021-05-03 15:26:20 +03:00
ronivay
3cff98848d move xenserver/xcp-ng host check inside it's own function 2021-05-03 15:09:58 +03:00
ronivay
1f7e0d1a75 tidy up plugin installation function 2021-05-03 15:07:39 +03:00
ronivay
3b517d79d9 add checks based on osname AND osversion instead of only latter inside deb dependency installation 2021-05-03 15:02:35 +03:00
ronivay
15cc82ff8a tidy up node update function 2021-05-03 14:58:18 +03:00
ronivay
3757cad406 add option to disable os/arch checks and call package install functions with respective pkg formats instead of distro names 2021-05-03 14:54:07 +03:00
ronivay
a872b79483 get rid of else in updatexo function 2021-05-03 14:23:52 +03:00
ronivay
b290a5335b remove extra step from https check 2021-05-03 14:19:56 +03:00
ronivay
93ce1b30c9 simplify OS check 2021-05-03 13:12:17 +03:00
jimmyuk
918ac474d8 Update xo-install.sh
Just a little wording change
2021-04-09 09:32:22 +01:00
ronivay
054ba9b4ee Change args handling and add support for forced update 2021-03-23 09:53:53 +02:00
ronivay
d163d0d9ab fix architecture error output 2021-03-22 16:02:31 +02:00
ronivay
052d103e83 Check service start differently. Fixes #71 2021-03-18 19:36:14 +02:00
ronivay
d0b1300089 remove docker remnants. there's an own repository for it 2021-03-02 14:51:30 +02:00
ronivay
79c8352add upgrade to nodejs 14.x, #62 2021-02-24 09:19:11 +02:00
ronivay
537b442ee0 accidental addition 2021-02-23 16:06:59 +02:00
ronivay
a288426869 exit correctly on errors 2021-02-23 15:58:14 +02:00
ronivay
8d2e1e3791 add architecture check and force using 64bit OS version 2021-01-25 09:27:45 +02:00
ronivay
4c9a25acbf Remove CentOS 7 support, #59 2020-12-14 10:31:23 +02:00
ronivay
15e3f4b1a3 change the waiting for port loop logic and look for logs only after latest installation 2020-12-11 12:04:12 +02:00
ronivay
9f2175aaaa change final outputs depending on update/install task 2020-11-11 09:36:36 +02:00
ronivay
f84f38f3d2 log output from plugin symlink task 2020-10-12 08:33:13 +03:00