Some stuff to facilitate enrollment, major system update and full erase for non-admin users.
- Hello-IT functionals parameters with the key allow subdomains to true are mandatory. See Wiki here.
- A working Munki installation is optional. More infos here.
- Latest release for erase-install package file can be found here.
- Packages if you want to make custom installs or add pkg files in EraseMe.
You can split these functions into different items for Munki. EraseMe must be an optional install for self-service or scoped on "wipeable" computer only.
The IT folder can be relocated (change ITFOLDER variable in both post-install scripts), but beware of the folder access confidential limitation.
Warning ! These tools can easily destroy all data on your computer, please test them and understand how it's work before use.
- /etc/sudoers.d/com-github-darkomen78-enrollme-sudoers
- /Users/Shared/IT/enrollme/com.github.ygini.Hello-IT.Enrollme.plist
- /Users/Shared/IT/enrollme/enrollme.sh
- /Library/Application Support/com.github.ygini.hello-it/CustomScripts/com.github.darkomen78.hello-it.enrollme.sh
- As a post-install script : /scripts/postinstall_enrollme
- /etc/sudoers.d/com-github-darkomen78-updateme-sudoers
- /Users/Shared/IT/update/com.github.ygini.Hello-IT.updateme.plist
- /Library/Management/erase-install/erase-install.sh
- /Library/Application Support/com.github.ygini.hello-it/CustomScripts/com.github.darkomen78.hello-it.updateme.sh
- As a post-install script : /scripts/postinstall_updateme
- /etc/sudoers.d/com-github-darkomen78-eraseme-sudoers
- /Users/Shared/IT/erase/com.github.ygini.Hello-IT.eraseme
- /Library/Management/erase-install/erase-install.sh
- /Library/Application Support/com.github.ygini.hello-it/CustomScripts/com.github.darkomen78.hello-it.eraseme.sh
- As a post-install script : /scripts/postinstall_eraseme
Optional : you can add some .pkg files in /Users/Shared/IT/erase/pkg/ folder for auto-installation after the macOS reinstallation.