Skip to main content
Question

Deploying Configuration Profiles as part of imaging

  • May 7, 2013
  • 4 replies
  • 15 views

Forum|alt.badge.img+8

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?

4 replies

Forum|alt.badge.img+14
  • Contributor
  • May 7, 2013

At what point is this script being ran? At Reboot?


Forum|alt.badge.img+8
  • Author
  • Contributor
  • May 7, 2013

Yes At Reboot.


donmontalvo
Forum|alt.badge.img+36
  • Hall of Fame
  • May 8, 2013

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


Forum|alt.badge.img+8
  • Author
  • Contributor
  • May 9, 2013

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.