Symptoms
pmm_launchd_helper.log:
set_hostname:Error: Missed required argument
set_hostname:Error: Usage: set_hostname.sh -hostname <hostname>
07-17 16:40:49.741 D /TsExecutor:214:307/ Step 'Set Hostname' failed (Script set_hostname.sh failed (exit code: 1, status: 0))
07-17 16:40:49.741 D /TsExecutor:214:307/ Child step 'Set Hostname' failed
Cause
OSDComputerName variable is not added on All Mac OS X Systems collection.
Mac that is being imaged is already known to SCCM as a device.
Resolution
Add OSDComputerName to All Mac OS X Systems collection:
Was this article helpful?
Tell us how we can improve it.