Skip to content

Commit 92c5c8c

Browse files
committed
add support for Rocky Linux
1 parent 50a350e commit 92c5c8c

6 files changed

Lines changed: 8 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
All notable changes to this project will be documented in this file.
44

55
## Development
6+
* Added support for Rocky Linux. (Enhancement)
7+
8+
Contributed by Vadym Chepkov (@vchepkov)
69

710
* Fixed a bug with a hard coded wait for reboot. (Bug Fix)
811

tasks/available_updates_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source "${PT__installdir}/patching/files/bash/os_test.sh"
55

66
case $OS_RELEASE in
77
################################################################################
8-
RHEL | CENTOS | FEDORA)
8+
RHEL | CENTOS | FEDORA | ROCKY)
99
# RedHat variant
1010
source "${PT__installdir}/patching/files/bash/available_updates_rh.sh"
1111
;;

tasks/cache_remove_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source "${PT__installdir}/patching/files/bash/os_test.sh"
55

66
case $OS_RELEASE in
77
################################################################################
8-
RHEL | CENTOS | FEDORA)
8+
RHEL | CENTOS | FEDORA | ROCKY)
99
# RedHat variant
1010
# clean yum cache
1111
OUTPUT=$(yum clean all 2>&1)

tasks/cache_update_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ source "${PT__installdir}/patching/files/bash/os_test.sh"
1111

1212
case $OS_RELEASE in
1313
################################################################################
14-
RHEL | CENTOS | FEDORA)
14+
RHEL | CENTOS | FEDORA | ROCKY)
1515
# RedHat variant
1616
# update yum cache
1717
OUTPUT=$(yum clean expire-cache 2>&1)

tasks/reboot_required_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export REBOOT_REQUIRED="false"
88

99
case $OS_RELEASE in
1010
################################################################################
11-
RHEL | CENTOS | FEDORA)
11+
RHEL | CENTOS | FEDORA | ROCKY)
1212
# RedHat variant
1313
source "${PT__installdir}/patching/files/bash/reboot_required_rh.sh"
1414
;;

tasks/update_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ STATUS=0
2424

2525
case $OS_RELEASE in
2626
################################################################################
27-
RHEL | CENTOS | FEDORA)
27+
RHEL | CENTOS | FEDORA | ROCKY)
2828
# RedHat variant
2929
source "${PT__installdir}/patching/files/bash/update_rh.sh"
3030
STATUS=$?

0 commit comments

Comments
 (0)