I have install MDS on a mac mini and setup everything for munki, i was just wondering if it’s possible de launch a force install command at the end of the MDS deployment to download and install all packages avalaible on the munki repository.
This command download all the package set by default on munki admin, it seems to work:
/usr/local/munki/managedsoftwareupdate
But the force install command is not working:
/usr/local/munki/managedsoftwareupdate --installonly
I don’t have any error message at the end of the deployment.
Thanks a lot, i’m sure this feature in MDS can help a lot of people.
I have also try to use this script after the munkitools package install and it was the same:
#!/bin/sh
defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL “munki repo share here”
defaults write /Library/Preferences/ManagedInstalls ClientIdentifier “name of the catalog”
/usr/local/munki/managedsoftwareupdate
/usr/local/munki/managedsoftwareupdate --installonly
I have seen that the bug was resolved but i still encounter that issue, the deployment finish but it seems that these two commands are not executed at the end of the deployment:
/usr/local/munki/managedsoftwareupdate
/usr/local/munki/managedsoftwareupdate --installonly
You could install Outset and munkitools as .pkgs in your MDS workflow, make .pkgs of your scripts to copy into the “boot once” or “boot every” folders and those scripts will run on first boot. I just use Apple Remote Desktop to send those commands and do the config. Munkitools needs a reboot after install.
But does munkitools not need a reboot before you do the config? So yes you need to configure munki but managedsoftwareupdate will not run until reboot.
A post install/boot option for .pkgs and scripts would be a handy feature indeed.