This script was designed to run from the JSS against all OS X servers running NetBoot service. It requires the targeted servers to have the latest version of "Casper Imaging.app" installed in the /Applications folder, which can be combined in a single policy with the script. Each NIB is then interrogated and Casper Imaging is updated where appropriate.
1. Latest Casper Imaging.app installed under /Applications for each NetBoot server.
2. Server.app must be installed.
3. NetBoot service's status must be "RUNNING".
4. Images must be read\write (default).
We have more than 45 NetBoot servers (nationally and internationally) and I needed a way to update each of the NetBoot images installed on them with the latest version of Casper Imaging. This script allowed me to do this in less than a minute.