Posted on 10-26-2012 01:15 PM
I have a few netboot images available on my netboot server, and I'd like to be able to have a user execute a reboot to a specific netboot image rather than give them instructions to choose the image out of startup disk in system preferences. Writing a script to set as a Self Service policy seems the obvious choice.
Some googling has told me that this would get me started, but that using "/netbootimage" wouldn't work. bless --netboot --server bsdp://255.255.255.255/netbootimage; restart
I'm choosing 255 so it boots to the default netboot server so I can scope this out to multiple offices. Obviously "netbootimage" is a generic name.
Has anyone tried this with a specific netboot image, not just the default one?
Posted on 10-26-2012 01:41 PM
Hi,
I use:
#!/bin/sh
sudo bless --netboot --booter tftp://NETBOOT-SERVER=IP/NetBoot/NetBootSP0/Casper.nbi/i386/booter --kernel tftp://NETBOOT-SERVER=IP/NetBoot/NetBootSP0/Casper.nbi/i386/mach.macosx --options "rp=nfs:NETBOOT-SERVER=IP:/private/tftpboot/NetBoot/NetBootSP0:Casper72.nbi/Install.dmg.sparseimage"
shutdown -r now
Posted on 11-23-2012 05:20 AM
I Tried it, sometimes it works sometimes not
Is it right that you have specified another nbi in the 3. place ?
2 x Casper.nbi , 3. Casper72.nbi ?