Update: AutoCaspeNBI has been released, for more information see: https://macmule.com/autocaspernbi/
Hi All,
Over the past couple of months I've been working on an app that with streamline NetBoot creation for use with Casper Imaging (as well as creation of Read-Only DMGs to restore to USB sticks.. if that's your thing).
The basic idea is that you start with an clean never booted OS.dmg either from AutoDMG https://github.com/MagerValp/AutoDMG, Casper Admin http://macmule.com/2014/03/06/how-to-create-an-never-booted-os-dmg-using-casper-admin/ or a Composer captured OS.dmg from a never booted Mac (as in with forked builds).
Then add a copy of Casper Imaging, from there you can click build or amend the options on the first window or click the options button for more.
All the options should have popovers that explain their functions in a bit more detail. Most of the options set will be written to a plist (~/Library/Preferences/com.macmule.AutoCasperNBI.plist) will allows for AutoCasperNBI to be re-run when needed with the settings you haves used before.
external image link
You should see some blanks in the GUI & parts i've not added yet (due to the fact that I'm not sure how yet). These should be added at some point.
Then there will be a full 1.0 release & include:
- Calculate space needed & alert if we do not have enough
- Enable the "Additionals" tab. This will allow you to install pkgs to customise the .nbi further as well as additional JSS certs
- Add some sort of sparkle updater
- Add .jamfTarget creation
Thanks for the awesome work @bentoms I'll definitely give AutoCasperNBI a whirl!
A 6000+ line Applescript... wow. That's a lot of work!
@bentoms,
I gave the build process a try in a 10.7.5 VM. The build process completed successfully, but the resulting NetBoot set was not able to successfully NetBoot my 10.7.5 test VM.
I've uploaded the requested log and plist file via the MacMule contact page.
Thanks @rtrouton,
I'm going to try & create a 10.7 NBI via SIU on a 10.7 mac & will check what's different.
One thing, could be that the kernelcache file needs to be copied to a second location as shown: http://bennettp123.com/2013/05/31/netbooting-macs-without-bsdp
So, i386/kernelcache & i386/x86_64/kernelcache.
We ended up using the 0.9 version output in production. Yes, it was good enough for that.
Great idea for an app. This shows a lot of potential. Thank you!
Great idea @bentoms. Casper NetInstall Image Creator is no go for us, due to lack of compatibility with SMB DPs, so this looks like the next best thing. Appreciate the effort put in here. So many great tools coming out the community of late. Exciting times!
This looks very cool, I'll give it a whirl shortly.
Two things I would like to see: disable sleeping of machine, disks, display and enabling ARD access.
@chris.kemp.. There are options to set ARD & VNC on the NBI already (under the options window).
I've used Apple's Energy Saver settings (these are the same that overwrite would you'd when creating an NBI via System Image Utility).
Give it a whirl.. There will be another version in a few days will "full" 10.7 support too.
Good to know, thanks @bentoms
0.11 has been posted, with creating of 10.7 NBI's & works on 10.7.x.
So with AutoCasperNBI you can create 10.7+ NBI's on 10.7+.. (yep, 10.7 can create 10.9.x nbi's for example).
I'd love some more feedback on this as i've received little, so please give it a go!
I tried AutoCasperNBI out and it worked great. I made a very basic build with an AutoDMG 10.9.4 dmg and Casper Suite 8.73. I successfully booted a Macbook Air from a NetSUS on Ubuntu 12 Server running in VMware Fusion. I'll definitely be trying more of the options in the future, but it worked like a champ on the first try. Thanks @bentoms!
@Josh.Smith, awesome! glad to hear it!
@bentoms: You, sir, are my hero! Thank you so much for putting this together! Works great! And now for the obligatory feature request. Can we run it with Simple Finder? That's what I do with my NetBoot images. I would also like to make the inclusion of a Safari icon optional if possible.
THANK YOU!!!!
Simple finder eh?
Got a command to set that?
Glad you've found it useful so far!
@bentoms: Yes, I do believe that's how I did it. I'm sure some folks will find it beneficial. Thanks again!
Cool.
That should be easy enough.
I've also been asked to add an option to set the language, so will look @ that too.
Excellent work @bentoms.
Is NTP configuration included?
Hey @bentoms - I gave this a try yesterday, but ran into two snags: First, trying to enable ARD did not work. When I ticked the box & entered the credentials, the Close button did nothing & the Options window stayed open. I had to un-check it to proceed.
Second, for some reason the JSS URL didn't take. The netboot worked fine, but I had to enter the URL and credentials for imaging. (Is it trying to use the credentials I first ran the app with? If so, I'd like to be able to add those separately.)
Sent the files to you as requested above. :)
@chris.kemp.. Thank you for testing & coming sending the files.
If you relaunch the app & create another NBI.
Is the URL then set?
I'm looking at the ARD issue now.
Testing again, I'll let you know if that works.