MarcoMC Tech, Cuisine, Traveling…my hobbies, my life

April 13, 2010

SIU: Apply Computer Name and Local Hostname settings from a file

Filed under: Apple & Mac,IT — Tags: , , , — marcomc @ 04:14

Configuring a System Image Utility (SIU) Workflow you can include the Apply System Configuration Settings action.

This action includes few options, the most puzzling one is the one titled “Apply Computer Name and Local Hostname settings from a file” as there is no indication how the file should be formatted to be correctly interpreted by the workflow.

You can find a thread on the Apple Support page with few people discussing about it, there you will understand that the file format is composed by TAB separated elements in a mandatory order.

The order is MAC Address, hostname (fqdn or not), Computer name (optional), Bonjour name (optional).
If you don’t want to set a specific hostname, you can use -automatic- to “bypass” it.
The file content (plain text or Rich Text Format) will appear like:

00:2c:76:8d:28:3b -automatic- Computer 1 Computer 1
00:2c:76:8d:28:2b -automatic- Computer 2 Computer 2
00:2c:76:8d:28:1b -automatic- Computer 3 Computer 3

Powered by WordPress