diff --git a/api/types/installers/agentless-installer.sh.tmpl b/api/types/installers/agentless-installer.sh.tmpl index 2d6dc1499bca2..43d6f699161b1 100644 --- a/api/types/installers/agentless-installer.sh.tmpl +++ b/api/types/installers/agentless-installer.sh.tmpl @@ -140,7 +140,7 @@ install_teleport() { fi else # no automatic upgrades - sudo apt-get install -y "$TELEPORT_PACKAGE" + sudo apt-get install -y "$TELEPORT_PACKAGE" jq fi elif [ "$ID" = "amzn" ] || [ "$ID" = "rhel" ]; then @@ -166,7 +166,7 @@ install_teleport() { fi else # no automatic upgrades - sudo yum install -y "$TELEPORT_PACKAGE" + sudo yum install -y "$TELEPORT_PACKAGE" jq fi elif [ "$ID" = "sles" ] || [ "$ID" = "opensuse-tumbleweed" ] || [ "$ID" = "opensuse-leap" ]; then @@ -193,7 +193,7 @@ install_teleport() { fi else # no automatic upgrades - sudo zypper --non-interactive install -y "$TELEPORT_PACKAGE" + sudo zypper --non-interactive install -y "$TELEPORT_PACKAGE" jq fi else echo "Unsupported distro: $ID" diff --git a/api/types/installers/installer.sh.tmpl b/api/types/installers/installer.sh.tmpl index 8588ffd40dafe..1209c6dc2abc0 100644 --- a/api/types/installers/installer.sh.tmpl +++ b/api/types/installers/installer.sh.tmpl @@ -87,7 +87,7 @@ on_gcp() { fi else # no automatic upgrades - sudo apt-get install -y "$TELEPORT_PACKAGE" + sudo apt-get install -y "$TELEPORT_PACKAGE" jq fi elif [ "$ID" = "amzn" ] || [ "$ID" = "rhel" ]; then @@ -113,7 +113,7 @@ on_gcp() { fi else # no automatic upgrades - sudo yum install -y "$TELEPORT_PACKAGE" + sudo yum install -y "$TELEPORT_PACKAGE" jq fi elif [ "$ID" = "sles" ] || [ "$ID" = "opensuse-tumbleweed" ] || [ "$ID" = "opensuse-leap" ]; then @@ -125,7 +125,6 @@ on_gcp() { sudo rpm --import "https://zypper.releases.teleport.dev/gpg" sudo zypper --non-interactive addrepo "$(rpm --eval "https://zypper.releases.teleport.dev/sles/$VERSION_ID/Teleport/%{_arch}/{{ .RepoChannel }}/teleport.repo")" sudo zypper --gpg-auto-import-keys refresh - sudo zypper --non-interactive install ${PACKAGE_LIST} # shellcheck disable=SC2050 if [ "{{ .AutomaticUpgrades }}" = "true" ]; then @@ -142,7 +141,7 @@ on_gcp() { fi else # no automatic upgrades - sudo zypper --non-interactive install -y "$TELEPORT_PACKAGE" + sudo zypper --non-interactive install -y "$TELEPORT_PACKAGE" jq fi else echo "Unsupported distro: $ID"