X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f8f6f226e9c5d74a2306b25df751018ab354cde0..25a4603438ebc74b6d2f5bdd01035da048c69148:/doc/_includes/_setup_redhat_repo.liquid diff --git a/doc/_includes/_setup_redhat_repo.liquid b/doc/_includes/_setup_redhat_repo.liquid index ddff5a4b43..69898caf54 100644 --- a/doc/_includes/_setup_redhat_repo.liquid +++ b/doc/_includes/_setup_redhat_repo.liquid @@ -2,17 +2,37 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 + +modules_to_enable and packages_to_install may be space-separated strings {% endcomment %} -Set up the Arvados package repository by running these commands: +{%- if modules_to_enable != nil %} +{% include 'notebox_begin_warning' %} + +Arvados tools require newer language runtimes than the default versions included with these distributions. These instructions will **upgrade language runtimes for the entire system**. Check that won't interfere with any existing software before you proceed. + +{% include 'notebox_end' %} +{% endif -%} + +Set up the Arvados package repository +{%- if packages_to_install == nil %} +{%- elsif packages_to_install contains " " %} and install the packages +{%- else %} and install @{{ packages_to_install }}@ +{%- endif %} by running these commands:
# tee /etc/yum.repos.d/arvados.repo >/dev/null <<'EOF'
 [arvados]
 name=Arvados
-baseurl=http://rpm.arvados.org/CentOS/$releasever/os/$basearch/
+baseurl=http://rpm.arvados.org/RHEL/$releasever/os/$basearch/
 gpgcheck=1
-gpgkey=http://rpm.arvados.org/CentOS/RPM-GPG-KEY-arvados
-EOF
-
+gpgkey=http://rpm.arvados.org/RHEL/RPM-GPG-KEY-arvados +EOF +{%- if modules_to_enable != nil %} +# dnf module enable {{ modules_to_enable }} +{% endif -%} +{%- if packages_to_install != nil -%} +# dnf install {{ packages_to_install }} +{% endif -%} +