Posted on 06-29-2012 02:38 PM
Hi folks,
I am working on a process to automate a Lion upgrade, utilizing Casper Imaging via Netboot. The goal is to have a technician Netboot and then run a configuration that will install the required packages and reboot.
Casper Imaging will copy the packages, create the firstrun script, then reboot. However, the firstrun script won't execute until someone logs in.
Is there a trick that I am missing? I'd like to be able to cut out this unnecessary login step. I was thinking it may be related to auto-login, but our base images don't have that enabled and they execute the firstrun script automatically as expected.
Thanks,
Alex
Posted on 06-30-2012 12:41 PM
Casper should create a temp user (wtmp, I think) and auto-login as long as you have some sort of package that needs to be installed on reboot at imaging time (this is an option in Casper Admin).
You could always script creating a temporary user and setting it to auto login as well, then just have your first run script clean this user up.