Skip to main content
Question

Can you customize the dock with AutoCasperNBI?

  • November 19, 2015
  • 3 replies
  • 25 views

Forum|alt.badge.img+7

I wanted to add a couple apps to the dock for my nbi. I use Macmules Autocasper NBI.

Thanks
Adam

3 replies

roiegat
Forum|alt.badge.img+16
  • Valued Contributor
  • November 19, 2015

Yes. You have to modify the the dock.plist with what you want.

It's in ~/library/prefrences/com.apple.dock.plist

What I did was modify it on my computer to what I wanted, and then copied that file to the NBI.


Forum|alt.badge.img+15
  • Contributor
  • November 19, 2015

Just remember, you're booting into root, so the Dock .plist needs to go into:

/private/var/root/Library/Preferences/com.apple.dock.plist

I add a package to AutoCasperNBI that installs a small AppleScript app named "Start.app" so that provisioners can nuke FileVault-encrypted volumes easily via an icon in the Dock. The package installs the app in Applications and installs the Dock .plist in the above directory.


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • November 21, 2015

Hi @ahebert76 & @roiegat , I'd recommend creating a pkg to replace the dock.plist as you want.

@bmarks has the path for the plist, & I've information on the Additional PKGs feature here.