File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
55## Development
66
7+ * Added support for Oracle Linux.
8+
9+ Contributed by Sean Millichamp (@seanmil )
10+
711## Release 1.5.1 (2021-07-08)
812
913* remove unused hiera configuration
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33if [ -e /etc/os-release ]; then
4- export OS_RELEASE=$( sed -n -e " /^ID=/p" /etc/os-release | sed -e ' s~\(.*\)=\(.*\)~\U\2~g' -e ' s~" ~~g' )
4+ export OS_RELEASE=$( sed -n -e " /^ID=/p" /etc/os-release | sed -e ' s~\(.*\)=\(.*\)~\U\2~g' -e ' s~[" ] ~~g' )
55else
66# fall back to older methods for OS that do not use systemd
77 export OS_TEST_DEB=$( lsb_release -a 2> /dev/null | grep Distributor | awk ' {print $3}' )
1616 # default
1717 export OS_RELEASE=' UNKNOWN'
1818 fi
19- fi
19+ fi
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ source "${PT__installdir}/patching/files/bash/os_test.sh"
55
66case $OS_RELEASE in
77# ###############################################################################
8- RHEL | CENTOS | FEDORA | ROCKY)
8+ RHEL | CENTOS | FEDORA | ROCKY | OL )
99 # RedHat variant
1010 source " ${PT__installdir} /patching/files/bash/available_updates_rh.sh"
1111 ;;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ source "${PT__installdir}/patching/files/bash/os_test.sh"
1111
1212case $OS_RELEASE in
1313# ###############################################################################
14- RHEL | CENTOS | FEDORA | ROCKY)
14+ RHEL | CENTOS | FEDORA | ROCKY | OL )
1515 # RedHat variant
1616 # update yum cache
1717 OUTPUT=$( yum clean expire-cache 2>&1 )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export REBOOT_REQUIRED="false"
88
99case $OS_RELEASE in
1010# ###############################################################################
11- RHEL | CENTOS | FEDORA | ROCKY)
11+ RHEL | CENTOS | FEDORA | ROCKY | OL )
1212 # RedHat variant
1313 source " ${PT__installdir} /patching/files/bash/reboot_required_rh.sh"
1414 ;;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ STATUS=0
2424
2525case $OS_RELEASE in
2626# ###############################################################################
27- RHEL | CENTOS | FEDORA | ROCKY)
27+ RHEL | CENTOS | FEDORA | ROCKY | OL )
2828 # RedHat variant
2929 source " ${PT__installdir} /patching/files/bash/update_rh.sh"
3030 STATUS=$?
You can’t perform that action at this time.
0 commit comments