I'm working on our OS X 10.10 image (my first image build after taking over the process) and all is working fine, except a policy we have created to install 25 packages is not being allowed to run to completion. We run this same policy in our current 10.9 image with no problem. The policy for 10.10 is cloned from the 10.9 policy, with the only changes being all references to 10.9 changed to 10.10.
The part of the script in question that is failing:
Install Standard Software Set via Policy
loginfo "Installing Standard Software Set via Policy"
/usr/sbin/jamf policy -trigger Imaging_${OS} &
Get the Process ID of the last command run in the background ($!) and wait for it to complete (wait)
SUPID=echo "$!"
wait $SUPID
When I check the initialsetup.log that is created during the this process I see that this policy is given less than 60 seconds to run, not enough time to put down all of the packages and install. Some do work, such as our Identity Finder package which installs, but most are not even copied to the machine.
Any tips as to why the package is not given time to complete? The trigger works, but the wait does not.
Thanks.
(apologies for the formatting in the script)
