FirstRun script never finishes, stuck on "The imaging process is finishing..."

SalGarza
New Contributor

UPDATE: Narrowed it down to a package that was making the process hang. Oddly, it runs fine when launched outside of FirstRun. Also resorted to using a QuickAdd pkg, instead of checking "Ensure computers imaged ...are enrolled". This prevents any policies from triggering while the FirtRun script is still executing.

Hi everyone!

I'm at a customer's site building a master image and am not being able to get Casper Imaging's FirstRun script to complete. One of my packages creates a hidden admin and enables Remote Login (SSH), fortunately the FirstRun script gets that far and I can ssh in and see the following in /var/log/jamf.log while the client computer is displaying the "The imaging process is finishing installing software":

Tue Jul 30 10:33:29 NetBoot001 jamf[408]: Creating .AppleSetupDone...
Tue Jul 30 08:35:17 Macbook015 jamf[4315]: Could not connect to the JSS. Looking for cached policies...
Tue Jul 30 08:35:29 Macbook015 jamf[4947]: Installing ll.lio.usertemplate-2012-06-28.pkg...
Tue Jul 30 08:35:38 Macbook015 jamf[4947]: Successfully installed ll.lio.usertemplate-2012-06-28.pkg.
Tue Jul 30 08:35:38 Macbook015 jamf[5074]: Installing mm.wcs_masetupassistant-2013-07-30.mpkg...
Tue Jul 30 10:35:50 Macbook015 jamf[5074]: Successfully installed mm.wcs_masetupassistant-2013-07-30.mpkg.
Tue Jul 30 10:35:50 Macbook015 jamf[5180]: Installing nn.lio.maosxoptimize-wcs-2013-07-30.mpkg...
Tue Jul 30 10:36:40 Macbook015 jamf[5180]: Successfully installed nn.lio.maosxoptimize-wcs-2013-07-30.mpkg.
Tue Jul 30 10:36:40 Macbook015 jamf[5604]: Installing oo.lio.maladminsetup-2013-07-30.mpkg...
Tue Jul 30 10:36:58 Macbook015 jamf[5604]: Successfully installed oo.lio.maladminsetup-2013-07-30.mpkg.
Tue Jul 30 10:36:59 Macbook015 jamf[5889]: Installing qq.lio.maosxaliases-2012-05-01.pkg...
Tue Jul 30 10:37:02 Macbook015 jamf[5889]: Successfully installed qq.lio.maosxaliases-2012-05-01.pkg.
Tue Jul 30 10:37:02 Macbook015 jamf[5925]: Installing pp.lio.maladminsettings-2012-05-09.pkg...
Tue Jul 30 10:37:04 Macbook015 jamf[5925]: Successfully installed pp.lio.maladminsettings-2012-05-09.pkg.
Tue Jul 30 10:39:40 Macbook015 jamf[6381]: Creating user wcsadmin...
Tue Jul 30 10:40:05 Macbook015 jamf[6381]: Enforcing management framework...
Tue Jul 30 10:40:08 Macbook015 jamf[6381]: Enforcing scheduled tasks...
Tue Jul 30 10:40:08 Macbook015 jamf[6381]: Adding launchd task com.jamfsoftware.task.1...
Tue Jul 30 10:40:08 Macbook015 jamf[6381]: Creating launch daemon...
Tue Jul 30 10:40:08 Macbook015 jamf[6381]: Downloading the agent...
Tue Jul 30 10:40:08 Macbook015 jamf[6381]: Creating launch agent...
Tue Jul 30 10:40:08 Macbook015 jamf[6381]: Installing Self Service plug-in Bell Schedule...
Tue Jul 30 10:40:09 Macbook015 jamf[6381]: Installing Self Service plug-in Sage Lunch Menu...
Tue Jul 30 10:40:09 Macbook015 jamf[6381]: Installing Self Service plug-in WCS calendar...
Tue Jul 30 10:40:09 Macbook015 jamf[6813]: Binding Macbook015 to domain.org...
Tue Jul 30 10:40:46 Macbook015 jamf[6813]: Bound to Active Directory (domain.org)
Tue Jul 30 10:40:50 Macbook015 jamf[7160]: Checking for policies triggered by "startup"...

There are still two more packages that are not getting installed. I am able to run jamf checkJSSConnection, and the JSS is available.

Any ideas?

Casper Suite 8.71
Image being laid down is OS X Lion (10.7.5)

Thank you!
Sal

0 REPLIES 0