Anyone know of a way to set the time zone on a clean never booted image created with AutoDMG?
Solved
AutoDMG & TimeZone
Best answer by CasperSally
If you search time zone on jamfnation you'll probably get some ideas.
We set with post image script
--
#set date, time asap
TIMEZONE="America/New_York"
TIMESERVER="time.company.com"
SetDateAndTime () {
systemsetup -settimezone "$TIMEZONE"
systemsetup -setusingnetworktime off
#backing up old NTP config
mv /private/etc/ntp.conf /private/etc/ntp.conf.`date +%Y-%m-%d_%H.%M.%S`
echo "server $TIMESERVER" > /private/etc/ntp.conf
systemsetup -setusingnetworktime on
sleep 10 #let the clock change before running date
}
SetDateAndTimeEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
