Best way to set region and language

RogerH
Contributor II

Hey JAMFnation!,
We are a global shop and I am trying to figure out the best way to set the region and language settings. Currently our imaging workflow is as follows:
1. Unbox and boot to USB stick using autocasperNBI
2. Run workflow that drop several packages onto stock image
3. boot to temp account to complete setup
4. Prompt Tech to select Site from dropdown (cocoadialog)
5. Set machine name,join AD, set admin password and install packages.

My feeling is the best way to accomplish this is with a script that is called that is unique to the site chosen. I would like to set it so the user can change it if they want to so a config profile is out.

1 REPLY 1

sean
Valued Contributor

Are you in an AD setup? Do you have sites configured in AD?

If so, check this out:

sudo /usr/libexec/PlistBuddy -c "Print :ActiveDirectory:sitename " /Library/Preferences/OpenDirectory/DynamicData/Active Directory/[domain].plist