- Calls to
installinstallmacos.py
have been replaced with calls tomist
. Minimum OS requirement for this is macOS 10.15. - Dialogues are now all presented using swiftDialog. Minimum OS requirement for this is macOS 11.
- The minimum compatible OS for swiftDialog is macOS Big Sur 11. If you need to upgrade a Mac on an older version of macOS, use Version 27.x of erase-install.
- Downloads are now only available as a
pkg
or anapp
. Downlaoding of asparseimage
has been discontinued, though the script will continue to search for them to allow for upgrade from earlier versions of erase-install without having to re-download the installer. - The log has moved to
/Library/Management/erase-install/log/erase-install.log
- New
--silent
mode. The script can now be run without any dialogues. On Apple Silicon, this requires the use of the keychain method to provide credentials. Minimum OS requirement for this is macOS 10.15. - Add Spanish dialogs.
- For testing purposes, a username and password may be placed in a custom keychain. Username is optional as the current user can be used. To create the keychain and add the keys, run the following commands:
security create-keychain -P NAME_OF_KEYCHAIN
- this will prompt you to create a password for the keychain. The keychain will be stored in~/Library/Keychains
.NAME_OF_KEYCHAIN
must match the value you give to the--kc
key. The password you create must match the value you give to the--kc-pass
key.security add-generic-password -s NAME_OF_SERVICE -a NAME_OF_USER -w PASSWORD NAME_OF_KEYCHAIN
-NAME_OF_SERVICE
must match the value you provide to the--kc-service
key.NAME_OF_USER
andPASSWORD
must be the valid credentials of an account on the computer with Volume Ownership.