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
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.
Add OSDComputerName to All Mac OS X Systems collection: