Posted on 05-07-2013 01:23 AM
I've created a package in Composer that is meant to import a User and Computer Configuration Profile during the imaging process. If I run the package manually both Config. Profiles are installed correctly, if I run it as part of the imaging process the Config. Profiles are not being applied.
My commands are
/usr/bin/profiles -I -F "/private/tmp/configuration_profiles/test - user.mobileconfig"
/usr/bin/profiles -I -F "/private/tmp/configuration_profiles/test - computer.mobileconfig"
The mobileconfig files - Admin RW, Staff R, Everyone R
The configuration_profiles folder - root RWX, admin RX, Everyone RX
Am I missing something that's right in front of me?
Posted on 05-07-2013 07:43 AM
At what point is this script being ran? At Reboot?
Posted on 05-07-2013 02:27 PM
Yes At Reboot.
Posted on 05-07-2013 08:37 PM
Maybe try adding "$3" to your paths?
/usr/bin/profiles -I -F $3"/private/tmp/configuration_profiles/test - user.mobileconfig"
/usr/bin/profiles -I -F $3"/private/tmp/configuration_profiles/test - computer.mobileconfig"
If that doesn't work, maybe post your script (mask out any sensitive info of course)?
Don
Posted on 05-09-2013 05:35 AM
Ok looks like I've got the configuration profiles being applied. However both profiles are being applied as Device profiles under the Profiles System Preference.
As such the "test - user" profile is still not being applied before the first network user login and the redirection of the users profiles to the 2nd partition doesn't occur until the 2nd login.