setup-your-mac / Setup-Your-Mac

Setup Your Mac aims to simplify initial device configuration by leveraging swiftDialog and Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment.
https://snelson.us/sym
MIT License
238 stars 52 forks source link

Additional Parameter to set $symConfiguration value #58

Closed nunoidev closed 1 year ago

nunoidev commented 1 year ago

This would be useful if we have just one SYM script added to multiple policies that are scoped to each prestage as a dynamic group (in Jamf).

i.e. in Jamf, SYM script is added to a policy that targets Prestage A dynamic group & have say parameter 11 value "PrestageA". The idea is to load the JSON Policy that matches "PrestageA" in $symConfiguration.

If Parameter 11 is not provided, then can use the catch-all option, as usual.

Slack Discussion: https://macadmins.slack.com/archives/C04FRRN3281/p1683853147821699

dan-snelson commented 1 year ago

@nunoidev: Please test-drive 1.11.0-b11.

Thanks big bunches, @drtaru!

dan-snelson commented 1 year ago

Thanks, @nunoidev and @drtaru!