diff --git a/api/types/installers/agentless-installer.sh.tmpl b/api/types/installers/agentless-installer.sh.tmpl index 0e99f134e374d..7aa9c841e09d3 100644 --- a/api/types/installers/agentless-installer.sh.tmpl +++ b/api/types/installers/agentless-installer.sh.tmpl @@ -106,6 +106,7 @@ install_teleport() { if [ "$ID" = "rhel" ]; then VERSION_ID=${VERSION_ID//\.*/} # convert version numbers like '7.2' to only include the major version fi + sudo yum install -y yum-utils sudo yum-config-manager --add-repo \ "$(rpm --eval "https://yum.releases.teleport.dev/$ID/$VERSION_ID/Teleport/%{_arch}/{{ .RepoChannel }}/teleport.repo")" sudo yum install -y ${PACKAGE_LIST} diff --git a/api/types/installers/installer.sh.tmpl b/api/types/installers/installer.sh.tmpl index ab4f7032f127f..bc4e09d1501cb 100644 --- a/api/types/installers/installer.sh.tmpl +++ b/api/types/installers/installer.sh.tmpl @@ -52,6 +52,7 @@ on_gcp() { if [ "$ID" = "rhel" ]; then VERSION_ID=${VERSION_ID//\.*/} # convert version numbers like '7.2' to only include the major version fi + sudo yum install -y yum-utils sudo yum-config-manager --add-repo \ "$(rpm --eval "https://yum.releases.teleport.dev/$ID/$VERSION_ID/Teleport/%{_arch}/{{ .RepoChannel }}/teleport.repo")" sudo yum install -y ${PACKAGE_LIST} diff --git a/docs/pages/includes/cloud/install-linux-cloud.mdx b/docs/pages/includes/cloud/install-linux-cloud.mdx index 0dead89572ab0..f6e0d0b4627b1 100644 --- a/docs/pages/includes/cloud/install-linux-cloud.mdx +++ b/docs/pages/includes/cloud/install-linux-cloud.mdx @@ -28,6 +28,7 @@ # First, get the OS major version from $VERSION_ID so this fetches the correct # package version. $ VERSION_ID=$(echo $VERSION_ID | grep -Eo "^[0-9]+") + $ sudo yum install -y yum-utils $ sudo yum-config-manager --add-repo "$(rpm --eval "https://yum.releases.teleport.dev/$ID/$VERSION_ID/Teleport/%{_arch}/stable/cloud/teleport-yum.repo")" $ sudo yum install teleport-ent-updater # diff --git a/docs/pages/includes/install-linux-ent-self-hosted.mdx b/docs/pages/includes/install-linux-ent-self-hosted.mdx index 44e321b6dac05..d7a5260f18319 100644 --- a/docs/pages/includes/install-linux-ent-self-hosted.mdx +++ b/docs/pages/includes/install-linux-ent-self-hosted.mdx @@ -34,6 +34,7 @@ $ source /etc/os-release # First, get the major version from $VERSION_ID so this fetches the correct # package version. $ VERSION_ID=$(echo $VERSION_ID | grep -Eo "^[0-9]+") +$ sudo yum install -y yum-utils $ sudo yum-config-manager --add-repo "$(rpm --eval "https://yum.releases.teleport.dev/$ID/$VERSION_ID/Teleport/%{_arch}/stable/v(=teleport.major_version=)/teleport.repo")" $ sudo yum install teleport-ent #