kc9wwh / macOSUpgrade

Workflow for doing in-place upgrades.
Other
418 stars 103 forks source link

Add support tools; prepare-jamf-policy.sh #109

Closed taniguti closed 5 years ago

taniguti commented 5 years ago

Hi,

macOSUpgrade.sh needs some parameters. User must make sure installer info and update their Jamf policy for using it whenever Installer is updated. I hope this helper script helps users from such kind of bother task.

And also this script can build a package archive file. You can upload the pkg file to your Jamf server. This idea is based on #89 from @brodriguez255.

Here is an execution results.

$ ./prepare-jamf-policy.sh  /Volumes/Install\ macOS\ Mojave/Install\ macOS\ Mojave.app
Wait seconds, getting checksumm...

=====================================================
Parameters for JamfPro policy:
Parameter 4: /Applications/Install macOS Mojave.app
Parameter 5: 10.14.4
Parameter 6: (Your download trigger policy)
Parameter 7: b6b442c52fad23cc978234b89e34aaf3
=====================================================

Would you need a package archive of Install macOS Mojave.app? [y/n]: y
Ok, building package archive file of Install macOS Mojave.app. Wait few minutes.
Done. /Users/taniguti/Desktop/Install macOS Mojave.app.10.14.4.pkg
taniguti commented 5 years ago

Thanks fo reviewing PR and giving many point of views.