How to chain an automatic netboot after a NetInstall...

ega
Contributor III

So I am looking for a way to force an automatic netboot after the completion of a netinstall. Specifically I am creating a net install set that "nukes" a machine and then I want the machine to boot to a different NetBoot set that just runs casper imaging. I have both nbi's but I can't get any way to force the netboot automatically. I have tried putting a payload less installer into a First Boot Installer but that does not work. Any thoughts?

3 REPLIES 3

gachowski
Valued Contributor II

Everette,

The man page for bless says we are out of luck because it can not chose between nbis. Bless can set the machine to netboot but we can't assign an image.

https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man8/bless.8.html

Kinda bummed : ) I was looking to do something the same : )

C

Josh_S
Contributor III

You can do it, look at my post on 2013-05-15. The NetInstall/NetBoot distinction has gone away (use the NetBoot syntax), in my experience, but you should still be able to specify a specific image to NetBoot from.
https://jamfnation.jamfsoftware.com/discussion.html?id=5716

ega
Contributor III

So just to be complete here I was able to accomplish "chaining" netinstall/netboots. After quite a bit of trial and error I found that I needed to have a first boot installer package that contains the long form of the bless command (per @Josh_S) for the netboot and forces an immediate "shutdown -r now" to prevent first boot installer re-blessing the local volume. I hope this helps someone out.