First thanks once again to Greg Neagle for the new Munki 6 which has the capability to do a staged macOS install.
Looking at this, and being aware of Greg's
installinstallmacos.py script it seems like the following might be possible.
- The script be modified to use either the embedded python built-in to AutoPkg or to the python built-in to Munki (the former would make more sense)
- The script be modified so that via an AutoPkg recipe parameter it looks for the latest version of a specific macOS major release e.g. 13 = Ventura, this parameter would be supplied via a recipe override
- If newer than any current macOS installer in e.g. the Munki repo that latest version is then downloaded as a disk image
- It is then added to the Munki repo as a staged macOS install
This is not intended to be used as a way to do minor macOS updates - which Munki does not support but to provide the latest installer for full-blown macOS upgrades.
Note: It might also be possible to deliberately exclude any beta versions. This could again be another recipe parameter and should be the default setting.
Question - If hypothetically a Mac is running Ventura 13.0.2 and the above suggested recipe has added a Ventura 13.1 installer will Munki try installing it? Obviously it would not if the Mac was running Ventura 13.1 or 13.2 already.