laurentpertois / Mojave-Compatibility-Checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mojave-Compatibility-Checker

This script was designed to be used as an Extension Attribute on Jamf Pro server to ensure specific requirements have been met to deploy macOS Mojave. With little modification it can probably be used on other systems (Jamf Pro server requires the output of an Extension Attribute to be echo "<result>$FOO</result>).

General Requirements:

  • OS X 10.8.0 or later
  • 4GB of memory (Apple says 2GB for 10.14, I prefer having a minimum of 4GB)
  • 15GB of available storage (Apple says 8.8GB for 10.14, I prefer more space)

These last 2 requirements can be modified in the first 2 variables (MINIMUMRAM and MINIMUMSPACE).

  • REQUIREDMINIMUMRAM: minimum RAM required, in GB
  • REQUIREDMINIMUMSPACE: minimum disk space available, in GB

Mac Hardware Requirements and equivalent as minimum Model Identifier

- MacBook (Early 2015 or newer), ie MacBook8,1
- MacBook Pro (Mid 2012 or newer), ie MacBookPro9,1
- MacBook Air (Mid 2012 or newer), ie MacBookAir5,1
- Mac mini (Late 2012 or newer), ie Macmini6,1
- iMac (Late 2012 or newer), ie iMac13,1
- iMac Pro, ie iMacPro1,1
- Mac Pro (Late 2013 or newer), ie MacPro6,1
- Mac Pro (Mid 2010 or Mid 2012 with a Metal Compatible GPU), ie MacPro5,1

Default compatibility is set to False if no test pass (variable COMPATIBILITY)

Exceptions

The extension attribute will also display false for a computer that is compatible but already running Mojave.

Installation

Copy the content of the script (.sh file) to a new Computer Extension Attribute or just download the existing Extension Attribute (.xml) file and upload it to the Computer Extension Attributes of your Jamf Pro server.

About


Languages

Language:Shell 100.0%