Skip to content

Ties the computer name to Munki's ClientIdentifier

Notifications You must be signed in to change notification settings

flammable/computer_name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

computer_name

What is this?

This is a script and LaunchDaemon that watches for the computer name field to be changed, then writes that to Munki's ClientIdentifier field.

Originally, I was overriding the HostName field (then using that to identify Macs to Munki), but Greg Neagle pointed out that this was not a great idea. This script is better!

Requirements

You'll need Munki for this to actually be useful. If you want to build the pkg, put munkipkg in /usr/local/munki-pkg.

How do I use this?

cd into the computer_name directory, then run munkiimport.sh to build the pkg and import it into your Munki repo.

About

Ties the computer name to Munki's ClientIdentifier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages