@tbridge tbridge released this Oct 21, 2015 · 13 commits to master since this release

Assets 2

This version of Munki-in-a-Box represents a major change. The original only ran through a sudo command, if you ran it without that sudo the script would not work as designed, and that was a problem.

This version runs as the logged in user. If the user can't complete a sudo successfully, the script will fail.

But, this solves an issue where autopkg gets very upset when you run it as root (for good reason!), and this version should complete successfully before the sudo timer kicks out. If it doesn't, please file an issue with details about your environment.

In addition, I have added a total of five repositories to autopkg in addition to the standard recipes file. I found myself adding them every time I stood up a new munki reference, so I added them to the script. You can comment them out, they're in lines L320-323.