Skip to main content
Solved

AutoCasperNBI - open beta

  • August 2, 2014
  • 290 replies
  • 602 views

Show first post

290 replies

RobertHammen
Forum|alt.badge.img+29
  • Esteemed Contributor
  • January 30, 2015

I'll confirm a 10.10.1 AutoCasper NBI and Casper Imaging 9.6.3 will block-copy both 10.10.1 and 10.10.2 base OSes.
10.10.2 AutoCasper NBI and Casper Imaging 9.6.3 will file-by-file copy a 10.10.2 base OS.

The issue seems like it's in Casper Imaging. Has anyone opened a case with JAMF? @amanda.wulff are you guys aware of this possibility?


Forum|alt.badge.img+17
  • Contributor
  • January 30, 2015

@RobertHammen][/url

We do actually have a defect open for this behavior (D-008472) that came out of a few cases.

What it’s looking like so far, and please bear in mind that this is new to us as well so we’re still doing testing on the behavior which means the information I have at the time of this posting may change, is that if the OS that is running Casper Imaging is 10.10.2 we’ll see the behavior described both in this thread and over in this thread.

If the OS that is running Casper Imaging is 10.10.1 or something lower, it works as we’d expect, as it looks like you’ve already seen in your environment.

Currently, I’m testing out what @maccentric][/url has seen in their environment and, once it finishes (or fails), will be looking at my system.log file to see if anything leaps out as different between the OS Imaging is running on being 10.10.2 or something that is not 10.10.2.

If you’d like to dig into it further, or would like to get a case opened up for confirmation that the behavior you're seeing in your environment is D-008472 and not something else, and so we can get your case attached to D-008472 once the behavior is confirmed, please get in touch with your Technical Account Manager either by giving Support a call, by sending an e-mail to support@jamfsoftware.com (it routes directly to their case queue), or by using the My Support section of JAMF Nation.

Thanks!
Amanda Wulff
JAMF Software Support

Edited because I misspelled my own name. Good thing it's Friday and a short drive home. :)


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • January 30, 2015

@bmarks, thanks for confirming.

Everyone else, this says it's fixed in 9.64.

https://jamfnation.jamfsoftware.com/discussion.html?id=13184#responseChild77918


Forum|alt.badge.img+6
  • Contributor
  • February 4, 2015

Is there any kind of ETA or workaround for the time being? Just image off a host running 10.10.1 or lower for now?


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

@CorpTech, imaging off of a 10.10.1 host for now.


Forum|alt.badge.img+4
  • Contributor
  • February 26, 2015

@bentoms this seems like it would be perfect for us, but when we try to use the NBI we built with AutoCasperNBI, it doesnt actually boot to any of our hardware, whereas NBIs we made with SIU have worked without problem.

I verified that the kernelcache is reasonably sized (13MB) and in both i386/ and i386/x86_64/

We're netbooting from an OSX server and using a 10.9.5 base image.

Not sure what else could be causing this.


Forum|alt.badge.img+4
  • Contributor
  • February 27, 2015

For what it's worth, my problem was related to using AutoCasperNBI on a machine running 10.10 to create a 10.9 NBI. Creating a 10.10 NBI worked without problem.

The error I was seeing was "error loading kernelcache (0xe)"


RobertHammen
Forum|alt.badge.img+29
  • Esteemed Contributor
  • February 27, 2015

AutoDMG requires you to be booted from the OS to make the base OS DMG, so I tend to use AutoCasperNBI as a 2nd step and build it on the same OS that the NetBoot image is...


Forum|alt.badge.img+4
  • Contributor
  • February 27, 2015

Yeah I had already had a few base OS images lying around that I had made with AutoDMG, so I was using those to test.

In the future it will be extremely unlikely that I would have an OS mismatch during this process.


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • February 28, 2015

@lynnp, thanks for logging the issue on GitHub.. I've an update version in the works & I'll see if I can work a fix into that.

@RHammen, @justinrummel & @lynnp.. FWIW.. The OS running AutoCasperNBI shouldn't matter. I had 10.10 beta creating 10.7.5-10.10 NBI's fine. So there must be a new change.

AutoCasperNBI generates the needed files for the NBI it creates, so no same OS dependency.


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

@lynnp Please try this pre-release version of AutoCasperNBI

Hopefully the fix in there works for you.


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • March 23, 2015

Forum|alt.badge.img+21
  • Honored Contributor
  • March 25, 2015

Do you know where the Untitled volume on the desktop is located used for the RAM disk?

Possibly this can be hidden with a launchdaemon and chflags hidden command?


Forum|alt.badge.img+4
  • Contributor
  • April 10, 2015

@bentoms - I saw in some of your docs that you had pkgs installed to setup the dock. Can you point me in the direction of how to create those? Is it just capturing the dock plist in Composer? I would love to add some stuff to the dock (Disk Utility, etc.). Thank you!


RobertHammen
Forum|alt.badge.img+29
  • Esteemed Contributor
  • April 10, 2015

@jubei I did this by enabling the root user on my local Mac. Set up the Dock the way I wanted, set Safari homepage prefs to my JSS, set Debug menu in Disk Utility.

Used Composer to package those 3 plists from /private/var/root/Library/Preferences and built a PKG file, which I copied to the root of the drive.

Logged out, logged back in as my standard user and disabled the root account. Then, added that .pkg file to my AutoCasperNBI workflow.


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • April 10, 2015

@jubei what @RHammen said.

He's on fire today.


RobertHammen
Forum|alt.badge.img+29
  • Esteemed Contributor
  • April 10, 2015

Heh. Someday Ben will remember that my main account here is @RobertHammen ;-)


Forum|alt.badge.img+4
  • Contributor
  • April 16, 2015

Thanks you @RobertHammen !


Forum|alt.badge.img+21
  • Honored Contributor
  • April 22, 2015

Created a launch daemon with chflags hidden command to hide the RAM disk, packaged it up and added it to Auto CasperNBI. Now the RAM disk is hidden every time :)


boberito
Forum|alt.badge.img+22
  • Jamf Heroes
  • April 24, 2015

Does AutoCasperNBI support 10.10.3? Because I've created the disk image with Disk Utility and tried with Composer and it says "Cannot read OS Version"


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • April 24, 2015

Yes it does (newest version FYI). I am running a 10.10.3 NBI, with casper Imaging 9.7 that was created using AutoCasperNBI 1.1.7


boberito
Forum|alt.badge.img+22
  • Jamf Heroes
  • April 24, 2015

The newest that downloads from https://macmule.com/autocaspernbi/ by clicking the big Download Now button for me is 1.1.4.....Where's 1.1.7?

Ignore me, i see 1.1.7 and 1.1.8 are pre-releases.


Chris_Hafner
Forum|alt.badge.img+27
  • Jamf Heroes
  • April 24, 2015

You caught me there for a moment! I realized that 1.1.7 was an open beta along with 1.1.8. Glad you found them!


bentoms
Forum|alt.badge.img+35
  • Author
  • Hall of Fame
  • April 24, 2015

Hi all,

I'll probably release 1.2 this weekend, it has all of the fixes from the pre-releases & one outstanding issue that I can't recreate myself.


Forum|alt.badge.img+21
  • Honored Contributor
  • April 24, 2015

launchdaemon to hide the ram disk

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.hide.ramdisk.Launchd</string>
    <key>ProgramArguments</key>
    <array>
        <string>chflags</string>
        <string>hidden</string>
        <string>/private/var/netboot</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>