Posted on 10-03-2011 11:09 PM
Hi Casper users,
About a month ago a discussion thread, "Lion Deployment from Casper", was started about upgrading Macs to OSX Lion through Casper self-service. Greg Neagle created the "InstallLion.pkg" which greatly aids this approach and definitely worked for me. However, there are some further customisations I would like to apply, which include:
- preventing the Setup Assistant from launching when users login.
- preventing Software Update from launching since our staff don't have admin privileges anyway.
Would you guys have any idea how to implement the above two items?
The other thing to mention, which is really major for us, is that the upgrade to Lion through self-service breaks the Mac's AD binding. Looking through the Casper archives I can see a number of discussions around this problem. Does anyone have an automated workaround for this issue, or how are people overcoming this problem?
Any suggestions would be most appreciated.
Cheers, Ron.
Posted on 10-04-2011 05:24 AM
Ron
I would recommend creating a firstboot script and adding it to the
installESD with the customizeInstallESD tool. In your script you could
add touch /var/db/.AppleSetupDone to kill the Setup Assistant and you also
add a few lines to disable Apple Updates.
As far as AD goes, this is why I'm waiting on deploying Lion to our staff.
Right now there is no good workaround for us. It's just a waiting game
and hoping that 10.7.2 brings the fixes we need.
Allen
Posted on 10-04-2011 09:03 PM
Hi Allen,
Many thanks for your suggestions and advice. This is probably a silly question, but when you say "firstboot script" do you mean it actually automatically runs on next boot, or will it run as part of the "InstallLion" package install?
Cheers, Ron.
Posted on 10-05-2011 05:57 AM
Ron,
I have a pkg that I've added to the InstallESD with the tools included
with InsatllLion.pkg. There is a good guide on how to set it up here,
http://osxdeployment.com/wiki/Firstboot_Package_Guide. My pkg installs
the script to /var and includes a LaunchDaemon that kicks off the script
on the first boot after the Lion installer finishes. If you have any
other questions, let me know.
Thanks
Allen