Posted on 07-15-2014 08:47 AM
Is there a way to do batch target disk mode in Casper Imaging, but also put in custom settings, like under the advanced tab?
<context>
We populate the ARD text field 1 with our district asset tag ID number for each computer, but we do not know how to image a batch of computers using Target Disk Mode (name match by serial number in a .csv file) and update this field at imaging time. Our alternative is to update System Preferences > Sharing > Remote Managment > Options manually after each computer finishes imaging.
</context>
Running Casper Suite 9.3
Posted on 07-15-2014 10:50 AM
Have you looked at running this as a script during the imaging process?
Posted on 09-09-2014 04:37 AM
I user a script as part of my workflow to do this.
#!/bin/bash
# DESCRIPTION:
# Script to set the computer info in the ARD agent
# REQUIREMENTS:
# Must be run as root
# AUTHOR:
# robert@kvicktajm.se
# Examples if you want to set hostname at spare slot - check first to find what you use as identifiers in your network:
# scutil --get HostName
# scutil --get LocalHostName
# scutil --get ComputerName
# networksetup -getcomputername
# hostname
# Note: A variable="" leave what's already set in agent so use variable=" " to *clear* a field
I1="Perrigo Build 00048502.02" # Spare
I2=
I3=
I4=
# You can also use:
# I3="echo $(sysctl hw.model | awk '{ print $2}')
"
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -computerinfo -set1 -1 "$I1" -set2 -2 "$I2" -set3 -3 "$I3" -set4 -4 "$I4"
#EOF