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
246 stars 54 forks source link

Feature Request: Test the network speed/stability when you run SYM #7

Closed DevliegereM closed 1 year ago

DevliegereM commented 1 year ago

Note: While all requests are welcome, finding available cycles to custom-code a feature we won't use in our production environment is always challenging.

Is your feature request related to a problem? Please describe. No, not a problem

Describe the solution you'd like Depending on the score you can define which enrolment needs to happen? (basic/recommended/complete). You could even go as far as to let the admins decide what defines a good score (download speed/upload speed/network range/...) and have that defined inside SYM.

Describe alternatives you've considered Running networkQuality to determine the speed and get the value from the result. Running speedtest-cli, but that depends on brew already being installed (more overhead)

Additional context No, just an idea that popped up in my head when playing with 1.8.0.

dan-snelson commented 1 year ago

Thanks for the FR, @DevliegereM!

A trio of networkQuality EAs

This might be too much overhead, but what if we looked at “Download Responsiveness” and .PKG size and then provided a rough estimate of the additional time required for any Configuration beyond “Required” ?

(Probably add yet another case statement with filesize estimates for each Configuration.)

dan-snelson commented 1 year ago

@DevliegereM:

Please test-drive 1.10.0-rc3:

1.10.0

Release Date TBD

DevliegereM commented 1 year ago

Tested it and it works flawlessly if you use any of the three configurations. In production however we only use the catch-all since we deliver our macbooks to only have the basic of security tools and whatever department ends up using it they have their own follow up to do. It would be nice to have an estimated time left in the policy screen :)

dan-snelson commented 1 year ago

Excellent feedback, @DevliegereM.

I’ll take a look.

dan-snelson commented 1 year ago

Thanks, @DevliegereM!