Can you customize the dock with AutoCasperNBI?

a_hebert
New Contributor III

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

Thanks
Adam

3 REPLIES 3

roiegat
Contributor III

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.

bmarks
Contributor II

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
Release Candidate Programs Tester

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.