From 275ec77b500fccf03c075d45d258d2928e547b28 Mon Sep 17 00:00:00 2001 From: Howard Griffith Date: Wed, 11 Jun 2025 13:07:28 -0500 Subject: [PATCH] Update Get-LatestOSSupported.sh additional updates --- Jamf Pro/Extension Attributes/Get-LatestOSSupported.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jamf Pro/Extension Attributes/Get-LatestOSSupported.sh b/Jamf Pro/Extension Attributes/Get-LatestOSSupported.sh index f8f4696..aa412ee 100644 --- a/Jamf Pro/Extension Attributes/Get-LatestOSSupported.sh +++ b/Jamf Pro/Extension Attributes/Get-LatestOSSupported.sh @@ -144,6 +144,11 @@ os_check() { # For all models except MacPro5,1... if [[ + "${validate_os}" == "Tahoe*" && \ + ( "${os_major}" -ge 11 || "${os_major}" -eq 10 && "${os_minor}" -ge 9 ) + ]]; then + echo "Tahoe*" + elif [[ "${validate_os}" == "Sequoia*" && \ ( "${os_major}" -ge 11 || "${os_major}" -eq 10 && "${os_minor}" -ge 9 ) ]]; then @@ -264,7 +269,7 @@ ram_check() { system_ram=$(( $( /usr/sbin/sysctl -n hw.memsize ) / bytes_in_gigabytes )) if [[ - "${validate_os}" =~ ^(Catalina|Big[[:space:]]Sur|Monterey|(Ventura|Sonoma|Sequoia)\*)$ + "${validate_os}" =~ ^(Catalina|Big[[:space:]]Sur|Monterey|(Ventura|Sonoma|Sequoia|Tahoe)\*)$ ]]; then # OS version requires 4GB RAM minimum. For Ventura and newer, value's are inherited from # Monterey as Apple has not publicly defined these requirements.