macmule / AutoCasperNBI

AutoCasperNBI is an app that automates the creation of NetBoot Images (read: NBI’s) for use with Casper Imaging.
https://macmule.com/AutoCasperNBI/
83 stars 9 forks source link

Mac auto-restarting using 10.11.6, Casper Imaging 9.93, JSS 9.93 on AutoCasperNBI 1.3.3 created NetBoot #83

Closed hkabik closed 8 years ago

hkabik commented 8 years ago

After booting to the netboot Macs auto-restart after a few seconds. Casper Imaging never gets a chance to completes login.

Os - 10.11.6 JSS and Casper Imaging - 9.93 AutoCasperNBI - 1.3.3

macmule commented 8 years ago

Odd.

Not seeing that at all.

Have deployed it to a few sites now.

Can you recreate the NBI & check "create restorable dmg" then restore that to a external disk & boot off of that? Hopefully the issue reoccurs & we can have a look at the logs.

Regards,

Ben.

On 29 Aug 2016, at 21:10, hkabik notifications@github.com wrote:

After booting to the netboot Macs auto-restart after a few seconds. Casper Imaging never gets a chance to completes login.

Os - 10.11.6 JSS and Casper Imaging - 9.93 AutoCasperNBI - 1.3.3

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

hkabik commented 8 years ago

So upon Recreating the NBI, the new one works. They are identical, but if I boot to one the behavior exists and if I boot to the other it's fine. Corruption maybe? Either way, I'm technically resolved. Let me know if you want me to gather any info from the bad nbi before I trash it.

entusdictus commented 8 years ago

I can confirm this issue. I have tried to build 10.10.5 NBIs and 10.11.6 NBIs, both with Casper Imaging 9.93. Confirmed for multiple customers. One customer doesn't either work after building six NBIs. The OS DMGs are all built with AutoDMG and were definitely working when creating previous images.

Please let me know if I should provide any logs for you.

macmule commented 8 years ago

Hi @hkabik & @entusdictus,

In the NBI folder, do you have the .restorable.dmg? (on the NBI Server).

entusdictus commented 8 years ago

Yes, the restorable.dmg is in the NBI folder in my case.

macmule commented 8 years ago

@entusdictus Remove it.. then it'll work.

macmule commented 8 years ago

Related to: https://jamfnation.jamfsoftware.com/discussion.html?id=19850

macmule commented 8 years ago

I this: https://github.com/macmule/AutoCasperNBI/issues/87 would stop this happening again.

The NetBoot.restorable.dmg is for disk media, not for NetBoot.

macmule commented 8 years ago

Hi all,

Please test this pre-release of AutoCasperNBI

I have restructured the folders that AutoCasperNBI puts items into, to avoid this issue in the future:

screenshot 2016-09-09 23 30 08

The restorable.dmg should only be for removable media.

entusdictus commented 8 years ago

@macmule: works perfect, thanks! strange issue because we used to let the .restorable.dmg in the NBI folder for several releases now...

macmule commented 8 years ago

@entusdictus it shouldn't be in there on the NBI server.. i'm guessing you're using a NetSUS or something other an Apple's NetBoot server?

They don't read the NBImageInfo.plist to get the actual DMG, just grep/awk/cut to get an DMG.

But, awesome this is fixed. Closing off.