Query Mist without mdmclient validation#384
Open
jtwillbanks wants to merge 1 commit into
Open
Conversation
Owner
|
Thanks for taking time to develop this alternate method... However, I'm unlikely to implement this in the current build of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing a solution to allow Super to query Mist for minor or major version targets even if mdmclient does not return the full macOS installer items.
Updates mist CSV parsing to skip only the CSV header row with "awk" instead of the previous sed range expression. In testing the old method could produce an empty list for
_macos_installers_list_when it began with an identifier header.Previously,
get_macos_installers_list()was only called ifmdmclient_macos_installer_arraywas non-empty. In some cases, mdmclient only reports the latest OTA/MSU macOS update. This would preventeInstallMacOSMinorVersionTargetfrom targeting an available full installer when the requested version was not exposed by mdmclient.Also the retry error handling for installer list now also checks
get_macos_installers_list_errorandget_macos_installers_list_timeoutinstead of the mdmclient error variablesTest Expression Used
sudo super --reset-super --install-macos-minor-version-target=26.4.1 --verbose-mode --workflow-only-download