- Allows for logs to be reported back to Jamf Pro by changing the method
startosinstall
is launched. This requiresrebootdelay
to be set, which allows uploading the script result to Jamf Pro beforestartosinstall
force-quits our script and reboots the machine (thanks to @cvgs). - Adds launcher script
erase-install-launcher.sh
which can be used to start the pkg-delivered version of erase-install from the Scripts section of Jamf Pro (it also supports more than 8 arguments forerase-install
because you can add multiple arguments in one Jamf Parameter field) (thanks to @cvgs). - Adds some fallbacks for the
--fetch-full-installer
option. - If no build ID is found in the existing installer, we set it as invalid instead of exiting the script (addresses #271, thanks to @sphen13).
- Fix the fallback free disk space calculation (
df
was returning disk size in kb and not gb) (#274 - thanks to @sphen13). --update
option now uses new logic ininstallinstallmacos.py
to restrict searches to a certain OS or version (addresses #287).- Improved function descriptions in the script.
- Changed the
Makefile
to download the correct version ofinstallinstallmacos.py
during the make process. - Improved checksum checks for
installinstallmacos.py
- if an incorrect checksum is found, the correct version is downloaded rather than the script failing (unless--no-curl
option has been added). - Add titles to username and password dialog boxes (#289, thanks to @cvgs)
- Now correctly deletes a sparseimage from the cache when
--move
is used and the sparseimage is downloaded (#297, thanks to @andyincali) - Now correctly fails if an invalid installer is found and
--replace-invalid
,--update
,--overwrite
or--skip-validation
are not set (addresses #298).