Skip to content

Commit daee02f

Browse files
authored
Add support for rocky and almalinux to CDN install script (#55433)
* Add support for rocky and almalinux to CDN install script Extends #44171 * Add rocky and alma as search keywords on discover page * Add rocky and alma as search keywords on discover page * Fix prettier * Fix prettier
1 parent e5df6f7 commit daee02f

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

lib/web/scripts/install/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,13 @@ install_teleport() {
328328
esac
329329

330330
# select install method based on distribution
331-
# if ID is debian derivate, run apt-get
331+
# if ID is debian derivative, run apt-get
332332
case "$ID" in
333333
debian | ubuntu | kali | linuxmint | pop | raspbian | neon | zorin | parrot | elementary)
334334
install_via_apt_get
335335
;;
336336
# if ID is amazon Linux 2/RHEL/etc, run yum
337-
centos | rhel | amzn)
337+
centos | rhel | rocky | almalinux | amzn)
338338
install_via_yum "$ID"
339339
;;
340340
sles)

web/packages/teleport/src/Discover/SelectResource/resources/resources.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,16 @@ export const SERVERS: SelectResourceSpec[] = [
6868
id: DiscoverGuideId.ServerLinuxRhelCentos,
6969
name: 'RHEL 8+/CentOS Stream 9+',
7070
kind: ResourceKind.Server,
71-
keywords: [...baseServerKeywords, 'rhel', 'redhat', 'centos', 'linux'],
71+
keywords: [
72+
...baseServerKeywords,
73+
'rhel',
74+
'redhat',
75+
'centos',
76+
'linux',
77+
'rocky',
78+
'alma',
79+
'almalinux',
80+
],
7281
icon: 'linux',
7382
event: DiscoverEventResource.Server,
7483
platform: Platform.Linux,

0 commit comments

Comments
 (0)