Posted on 12-15-2023 06:21 AM
Hello can someone please send me pictures of how your erase-install script is set up inside of Jamf Pro. I can get the script to execute locally on the test machine, but when I try to add it via self service it will not execute.. I have the Package downloaded and added to a Policy as well as the script attached and the Execute command of: /Library/Management/erase-install/erase-install.sh --update --reinstall --cleanup-after-use --check-power ...
I have tried it with just the package, I have tried it with the script and the package, and the script alone and still no success.
I have read the Jamf Pro section of the script GitHub about 30 times and still can't find a solution trying to execute it on a computer with Sonoma 14. via the self service... the icon will show but when click nothing happens
If you have it running Properly I would appreciate if I could get pictures because Im stumped.
Solved! Go to Solution.
Posted on 12-15-2023 03:01 PM
I've had issues lately using the --update flag, and it wasn't a big enough time saver for me to keep using it. I dropped that flag and it generally fixed the issue.
I have since started using the official launcher script to make sure policy logging works. The parameters I use are:
Posted on 12-15-2023 03:01 PM
I've had issues lately using the --update flag, and it wasn't a big enough time saver for me to keep using it. I dropped that flag and it generally fixed the issue.
I have since started using the official launcher script to make sure policy logging works. The parameters I use are:
Posted on 12-18-2023 07:30 AM
This looks good I also have a few questions..
1. Do you have the .pkg file of the erase-install-32 attached to the policy? If so what action do you have selected for it?
2. Do you have any other scripts running in the policy before the erase-install script, and what do you have the priorities set for in both?
3.Also does your execute command look as follows:
/Library/Management/erase-install/erase-install.sh --reinstall --cleanup-after-use --check-power
2.
Posted on 12-15-2023 04:53 PM
i have the earlier version of the script, --(OS specified) --update --reinstall --confirm