Installing Catalina via Jamf Pro
While packaging Catalina up and using an install script is possible, there is a much easier workflow that can be used in order to save time and prevent troubleshooting of a complicated workflow.
The first step is to push the Catalina installer app, which is available in the store VPP app store:
The second Step is to create a Smart Group that will catch all of our computers that have completed the download of that application:
Next, we will create a policy to run the command below, make it available in Self Service, and scope it to the Smart Group above. (it needs to have two dashes in front of both of those flags, if it doesn’t, it will not run. Some text editing programs will remove one or both of those dashes). Previously killing Self Service was not needed, but it has started to prevent the computer from restarting, so if the upgrade is failing, including that part will increase its chance of success.
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/startosinstall --agreetolicense --nointeraction && killall Self\ Service
Optional: You can include this flag before the '&&'
--eraseinstall
to install a clean version of Catalina. ALL OF YOUR DATA WILL BE LOST IF USING THIS FLAG.
Then we will inform our users they have an update they can run. When the user goes out to Self Service to Install Catalina, this is what they will see:
When the user clicks on install, they may see no change for as many as 20-30 minutes as it downloads all of the needed files for the upgrade (you'll be able to see the progress of this downloading in the policy log after the install completes). Then it will restart the computer and install Catalina. The install can take as few as 20 total minutes but upwards of 60 minutes depending on the hardware on the machine.
If the Policy in Self Service says it’s completed any point before restarting, the command syntax is incorrect, or the installer application has not actually been downloaded on the computer (most likely the application install was incomplete, or the application folder has been moved/modified)
After the restart, users will be prompted to agree to a new EULA and asked to choose a few new preferences for settings added in Catalina. Those can always be changed later in System Preferences.
0 Commentaires