Updates to the AutoPkgReviewAndRun.py script

3.5 years ago, I created a script to automate running AutoPkg recipes while also verifying trust info and prompting the user to approve or deny any changes. With some prompting from some folks on the #autopkg channel of the MacAdmins Slack, I made a few changes to the script: You can now run the script… Continue reading Updates to the AutoPkgReviewAndRun.py script

Fix for VirtualBox Extension Pack postinstall script hanging in Munki

The problem If you’ve been running the VirtualBoxExtPack.munki.recipe AutoPkg recipe, and you’ve noticed the VirtualBox Extension Pack postinstall script in Munki hanging indefinitely (30 minutes and beyond), it’s because the license hash has changed. The fix According to @jessepeterson (the maintainer of that AutoPkg recipe), the license hash doesn’t change very often, but it did… Continue reading Fix for VirtualBox Extension Pack postinstall script hanging in Munki

AutoPkg failed: hdiutil: attach failed – no mountable file systems error

If, when running AutoPkg, you get an error like failed: hdiutil: attach failed – no mountable file systems but you’re able to mount the .dmg manually (i.e., it’s not a corrupted download), double-check you don’t have a restrictions profile installed that requires you to authenticate when mounting disk images. That setting is pretty much useless… Continue reading AutoPkg failed: hdiutil: attach failed – no mountable file systems error

If you update an AutoPkg parent recipe, but your override is still using old settings…

AutoPkg has a cool feature called parent trust that allows you to create recipe overrides that store a hash of the parent recipe (instead of running the parent recipe directly), and then prevent you from running the recipe if there’s a change to the parent recipe, until you update the trust info. (I also have… Continue reading If you update an AutoPkg parent recipe, but your override is still using old settings…

Using AutoPkg to distribute and test Munki 4 (or any new Munki version) in prerelease

10 December, 2019 update: Munki 4 is now an official (not pre-) release, so the below instructions are for when the next version is in prerelease… 25 November, 2019 (original post) As of this writing, Munki 4 is in the late stages of testing (its current on release candidate 1), so if you want to… Continue reading Using AutoPkg to distribute and test Munki 4 (or any new Munki version) in prerelease