diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-02-01 09:30:13 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-02-01 09:30:13 +0100 |
commit | c90e157ddd77e97d9be37fd1e3e0c249d60ab8d3 (patch) | |
tree | 7409b24fe104c2d3f3dac6c8097bc31823b56082 /utils/lxc.sh | |
parent | 9d102fb08ff4a7dc04d093561adde60436e3f69e (diff) | |
download | searxng-c90e157ddd77e97d9be37fd1e3e0c249d60ab8d3.tar.gz searxng-c90e157ddd77e97d9be37fd1e3e0c249d60ab8d3.zip |
[LXC] ubuntu 21.10 upgrade to ubuntu 22.04 LTS [1]
[1] https://wiki.ubuntu.com/Releases
Tested by::
# build the container ..
$ sudo -H ./utils/lxc.sh build searxng-ubu2204
# install a complete SearXNG suite ..
$ sudo -H ./utils/lxc.sh cmd searxng-ubu2204 FORCE_TIMEOUT=0 ./utils/searxng.sh install all
# install nginx to export the SearXNG instance by HTTP
$ sudo -H ./utils/lxc.sh cmd searxng-ubu2204 FORCE_TIMEOUT=0 ./utils/searxng.sh install nginx
# check instance
$ sudo -H ./utils/lxc.sh cmd searxng-ubu2204 FORCE_TIMEOUT=0 ./utils/searxng.sh instance check
INFO: [searxng-ubu2204] FORCE_TIMEOUT=0 ./utils/searxng.sh instance check
INFO: wrapper: utils/searxng.sh instance _call searxng.check
SearXNG checks
--------------
...
INFO searx : merge the default settings ( /usr/local/searxng/searxng-src/searx/settings.yml ) and the user settings ( /etc/searxng/settings.yml )
INFO searx : max_request_timeout=None
INFO searx.redisdb : connecting to Redis db=0 path='/usr/local/searxng-redis/run/redis.sock'
INFO searx.redisdb : connected to Redis
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lxc.sh')
-rwxr-xr-x | utils/lxc.sh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/utils/lxc.sh b/utils/lxc.sh index 0a792b4b5..28cc30265 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -25,22 +25,17 @@ LXC_HOST_PREFIX="${LXC_HOST_PREFIX:-test}" LXC_SHARE_FOLDER="/share" LXC_REPO_ROOT="${LXC_SHARE_FOLDER}/$(basename "${REPO_ROOT}")" -ubu1804_boilerplate=" +# shellcheck disable=SC2034 +ubu2004_boilerplate=" export DEBIAN_FRONTEND=noninteractive apt-get update -y apt-get upgrade -y apt-get install -y git curl wget -" -ubu1904_boilerplate="$ubu1804_boilerplate" - -# shellcheck disable=SC2034 -ubu2004_boilerplate=" -$ubu1904_boilerplate echo 'Set disable_coredump false' >> /etc/sudo.conf " # shellcheck disable=SC2034 -ubu2110_boilerplate="$ubu1904_boilerplate" +ubu2204_boilerplate="$ubu2004_boilerplate" # shellcheck disable=SC2034 archlinux_boilerplate=" |