283 Commits

Author SHA1 Message Date
Roni Väyrynen
3559945306 chore: rename letsencrypt to acme for more generic use and allow changing CA 2022-07-29 14:34:05 +03:00
Roni Väyrynen
eb82cc37f6 feat: add Let's Encrypt support 2022-07-29 14:21:32 +03:00
Stephen Boyd
e13c52f5f1 Update xo-install.sh
Fixes #128
Also fixes force pushes to named branches, which cause `--ff-only` to fail

Co-authored-by: Roni Väyrynen <roni@vayrynen.info>
2022-06-27 17:36:50 -07:00
Roni Väyrynen
896824d412 Merge pull request #127 from michaelr0/almalinux-9
Add almalinux 9 to the checks
2022-06-07 10:46:22 +03:00
Michael Rook
2aa976773c Fix issue with Almalinux check failing after inclusion of version 9 2022-06-07 17:12:59 +10:00
Michael Rook
45ffb105f3 Remove comment about something above almalinux 8 2022-06-06 21:31:15 +10:00
Michael Rook
4b63373ccc Add almalinux 9 to the checks 2022-06-06 21:29:39 +10:00
Michael Rook
42e3a57764 Add ubuntu 22.04 to the checks 2022-06-06 20:54:33 +10:00
Roni Väyrynen
9fba7b1935 feat: add possibility to use custom CA with XO 2022-04-26 08:56:05 +03:00
Roni Väyrynen
2f276eb80f chore: remove option to deploy from latest tagged release as it is obsolete nowadays 2022-04-23 12:53:37 +03:00
Roni Väyrynen
0acf22d232 chore: bump node version to 16.x 2022-04-20 09:00:16 +03:00
Roni Väyrynen
91d934efef fix: add missing dependency for xmllint 2022-04-20 08:51:47 +03:00
Roni Väyrynen
ec902a53ef change plugins default value inside script to same as in sample configuration 2022-04-02 11:34:24 +03:00
Roni Väyrynen
9a36a21e4d add missing default value for CONFIGUPDATE variable. issue #114 2022-04-02 11:28:56 +03:00
Roni Väyrynen
9d0e1e388a skip nodejs upgrade if repo installation is disabled. update xo-install.cfg and readme 2022-04-01 13:31:29 +03:00
Ben Erickson
1963605fa6 Adding option to disable repos installation 2022-03-31 10:09:18 -07:00
Ben Erickson
b73373c1e6 Adding option to disable repos installation 2022-03-30 10:47:29 -07:00
Roni Väyrynen
a75a3fadef bypass license check issue with xo-proxy. issue #111 2022-03-30 15:48:10 +03:00
Roni Väyrynen
b29320b33b read part of urandom when generating proxy token to prevent error with ubuntu 2022-03-16 22:20:22 +02:00
Roni Väyrynen
eb22d40a64 exit properly on errors 2022-03-16 19:45:42 +02:00
Roni Väyrynen
5006ef0f5e fix proxy installation #110 2022-03-16 19:22:13 +02:00
Roni Väyrynen
e06b47adac fix wrong variable name in output of failed service start 2022-03-16 18:47:49 +02:00
Jamie (Bear) Murphy
1a9df9977c Update xo-install.sh 2022-03-01 11:46:16 +00:00
Jamie (Bear) Murphy
6d14c42234 make sure test module doesnt install 2022-03-01 11:31:22 +00:00
Roni Väyrynen
68e3fc2250 print xo-proxy json config always if configuration file was generated 2022-01-30 14:15:36 +02:00
Roni Väyrynen
629365ca1d fix to prevent writing xo-proxy config to wrong users directory when xouser is set in configuration 2022-01-30 14:07:36 +02:00
Roni Väyrynen
8a65dc0ee2 change systemd config file edit/activate order to make more sense 2022-01-30 13:58:08 +02:00
Roni Väyrynen
c6a9f0cb9a reference the actual logfile in case of error instead of vaguely mentioning logs 2022-01-30 13:19:59 +02:00
Roni Väyrynen
ca1c105210 add ntfs-3g package installation 2022-01-30 11:33:37 +02:00
Roni Väyrynen
1554c0c0a0 chore: fix typoed variable names in installation cleanup 2022-01-02 12:09:27 +02:00
Roni Väyrynen
20de902f10 chore: add some details to menu output about proxy configuration 2022-01-02 11:57:02 +02:00
Roni Väyrynen
13cd3ceec9 chore: deal with cleanup situation where there might be proxy and xen orchestra installed on same server. we only want to remove inactive installations 2022-01-02 11:54:37 +02:00
Roni Väyrynen
4f4e277c7f fix: do not print config json when installing if config already exists 2022-01-01 20:54:15 +02:00
Roni Väyrynen
03abc1d1f8 styling: fix shfmt issues 2022-01-01 19:09:31 +02:00
Roni Väyrynen
f9037cf0a2 feat: add possibility to deploy/update backup proxy 2022-01-01 19:03:39 +02:00
Roni Väyrynen
a7ecc106ff check that user is not root before adding useSudo settings to xo-server config 2021-12-06 16:26:06 +02:00
Roni Väyrynen
1a8405707b set configpath again after creating optional non privileged user so variable is not left empty 2021-12-06 13:55:40 +02:00
Roni Väyrynen
a8a960a9ed fix wrong indent 2021-12-06 13:53:44 +02:00
Roni Väyrynen
820581cad0 add option to use sudo with non privileged user 2021-12-06 13:49:26 +02:00
Roni Väyrynen
c08c6b17a2 move epel repo position and fix existence check 2021-11-23 19:36:38 +02:00
Roni Väyrynen
4c9f1124b1 add check that prevents xo-install.sh to be ran on official XOA VM 2021-09-15 11:55:20 +03:00
Roni Väyrynen
c0849b5eaa add check for git binary and local changes to self upgrade 2021-09-15 11:48:40 +03:00
Roni Väyrynen
ca139df4c9 add mention to self upgrade that current version is being used if update fails 2021-09-12 11:11:26 +03:00
Roni Väyrynen
c94dba3ea6 remove obsolete conditional user print in menu 2021-09-12 11:08:39 +03:00
Roni Väyrynen
2187e86e43 add version details to selfupgrade and fix earlier lint error 2021-09-11 16:52:06 +03:00
Roni Väyrynen
ca424d0b63 add autocert config option to automatically create cert/key if they're defined but files don't exist 2021-09-11 16:45:32 +03:00
Roni Väyrynen
b977ff2ae3 remove obsolete https redirect config setting. fixes #93 2021-09-04 22:38:52 +03:00
ronivay
0a6839e2ea change selfupgrade/scriptinfo function names consistent with others 2021-08-24 09:18:13 +03:00
ronivay
8bd090aada change indentation from tabs to spaces and couple other minor suggestions by shfmt 2021-08-24 08:57:15 +03:00
ronivay
03f5ad9d10 implement self upgrade to the script 2021-08-23 16:20:32 +03:00