Closed kingpocket closed 2 years ago
Did you use --force-curl
? And which version of erase-install.sh is in your Jamf server?
I'm always curling the latest version. This one caches the Monterey Installer into the Applications folder.
/usr/bin/curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --force-curl --update --move
This one is attempting to cache the Ventura Beta installer, but both scripts fail at validating installinstallmacos.py due to invalid checksum.
/usr/bin/curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --seed DeveloperSeed --os=13 --force-curl --update --move
I receive the same checksum error even running: /usr/bin/curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | sudo bash /dev/stdin --pkg --list
Sigh. I guess the checksum got messed up again. I wish I hadn't introduced that security feature :) I'll see if I can fix it.
(It's not a problem if you use the package installer that I provide)
OK it should be working now. Something weird happened with git that I don't understand, but the version bump from the v26.1-rc
branch was not merged into the main
branch. I had to manually update the file in the main
branch.
That seems to have done the tick. Thank you. I also never tried the pkg version before and just modified my policies accordingly.
I have JAMF Policies that curl the latest version of the script and it fails when attempting to install and verify installinstallmacos.py [get_installinstallmacos] Downloading installinstallmacos.py... /Library/Management/erase-install/installinstallmacos.py: FAILED shasum: WARNING: 1 computed checksum did NOT match [get_installinstallmacos] ERROR: downloaded installinstallmacos.py does not match checksum. Possible corrupted file. Deleting file. Could not download installinstallmacos.py so cannot continue.