Skip to main content
Solved

AutoCasperNBI - open beta

  • August 2, 2014
  • 290 replies
  • 602 views

bentoms
Forum|alt.badge.img+35
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

Best answer by bentoms

Hi All,

Thanks for the testing & thanks again to those whom attended my talk @ JNUC.

Slides & Links can be found at the following: https://macmule.com/2014/10/25/jnuc-2014-autocaspernbi-and-the-casper-netinstall-creator-session-slides-links/

290 replies

Forum|alt.badge.img+10
  • Employee
  • August 2, 2014

Thanks for the awesome work @bentoms I'll definitely give AutoCasperNBI a whirl!


Forum|alt.badge.img+10
  • New Contributor
  • August 2, 2014

mega


Forum|alt.badge.img+13
  • Valued Contributor
  • August 2, 2014

A 6000+ line Applescript... wow. That's a lot of work!


Forum|alt.badge.img+33
  • Hall of Fame
  • August 2, 2014

@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.


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 2, 2014

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.


Forum|alt.badge.img+23
  • Esteemed Contributor
  • August 2, 2014

We ended up using the 0.9 version output in production. Yes, it was good enough for that.


elliotjordan
Forum|alt.badge.img+12
  • Valued Contributor
  • August 4, 2014

Great idea for an app. This shows a lot of potential. Thank you!


Forum|alt.badge.img+11
  • Contributor
  • August 4, 2014

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!


chris_kemp
Forum|alt.badge.img+20
  • Jamf Heroes
  • August 4, 2014

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.


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 4, 2014

@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.


chris_kemp
Forum|alt.badge.img+20
  • Jamf Heroes
  • August 4, 2014

Good to know, thanks @bentoms


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 6, 2014

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!


Forum|alt.badge.img+14
  • Contributor
  • August 7, 2014

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!


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 7, 2014

@Josh.Smith, awesome! glad to hear it!


jescala
Forum|alt.badge.img+12
  • Contributor
  • August 7, 2014

@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!!!!


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 7, 2014

Simple finder eh?

Got a command to set that?

Glad you've found it useful so far!


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 7, 2014

jescala
Forum|alt.badge.img+12
  • Contributor
  • August 8, 2014

@bentoms: Yes, I do believe that's how I did it. I'm sure some folks will find it beneficial. Thanks again!


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 8, 2014

Cool.

That should be easy enough.

I've also been asked to add an option to set the language, so will look @ that too.


Forum|alt.badge.img+13
  • Contributor
  • August 12, 2014

Excellent work @bentoms.
Is NTP configuration included?


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 12, 2014

Forum|alt.badge.img+7
  • New Contributor
  • August 12, 2014

Awesome work!


chris_kemp
Forum|alt.badge.img+20
  • Jamf Heroes
  • August 15, 2014

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. :)


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • August 15, 2014

@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.


chris_kemp
Forum|alt.badge.img+20
  • Jamf Heroes
  • August 15, 2014

Testing again, I'll let you know if that works.