Replies: 1 comment 1 reply
-
Please see the note in the wiki about using Jamf parameters (assuming you have added erase-install.sh directly from Jamf, which is not clear from the screenshot). https://github.com/grahampugh/erase-install/wiki/6.-Use-in-Jamf-Pro#option-2-upload-erase-installsh-into-jamf-pro-and-use-policy-script-parameters In short, you need to use an equals sign for parameters with a value if you're adding the script directly to Jamf. Therefore you need to change to: Additionally, you need to change |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings, community. I try to use the --min-battery option in 35-36 version and it doesn't work. I also do not reject the fact that I do not specify this parameter correctly, so I am attaching a screenshot of how it is configured for me on jamf. I use --min-battery 70, on the test macbook 55% and not connected to the charger. As a result, I get the script working without the --check power option at all
![008](https://private-user-images.githubusercontent.com/104902816/340232325-cd6a971f-a1f6-4573-b2e7-27a5e38e3d04.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTQ2MTQsIm5iZiI6MTczOTI1NDMxNCwicGF0aCI6Ii8xMDQ5MDI4MTYvMzQwMjMyMzI1LWNkNmE5NzFmLWExZjYtNDU3My1iMmU3LTI3YTVlMzhlM2QwNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwNjExNTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OTA3N2IwNDNlM2YyMmMxNTI3YzBhNDg1MzdjZTFkYzU1MTU5NTkzMzRlMjViODQwY2E0NDUzNjFmMTRlMWU1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.NIa1yNd0ZiXt7yfqjOHlOiY382fmIaTy9HfJ0tNpMi4)
Beta Was this translation helpful? Give feedback.
All reactions