[Casper] Computer Name is not populating when imaging
Steve Wood
swood at integerdallas.com
Tue Nov 11 14:37:55 PST 2008
I am having the exact same problem and the good folks at JAMF are working on
it. So far we haven't been able to figure out why it is happening.
I have tried pushing just the image, without any extra apps or scripts, and
I've tried it with the scripts and apps. Both ways yield the same result.
To get around this, I've added to my post image script a piece that pulls
the serial number of the machine and renames the machine to the serial
number. Not optimal, but it at least makes it easy to ID in ARD after
imaging is done, and then I can go in and manually change it:
# rename computer to the serial number
NewName=`system_profiler | grep "Serial Number" | awk '{print $3}'`
touch /$NewName
#NewName='system_profiler SPHardwareDataType | grep Serial | awk '{print
$3}''
scutil --set ComputerName $NewName
scutil --set LocalHostName $NewName
scutil --set HostName $NewName
Steve
On 11/11/08 4:33 PM, "Smith, William" <william.smith at merrillcorp.com> wrote:
> Hi Folks!
>
> I am testing InstaDMG as a means of creating our base Mac OS X 10.5 image.
> Currently, I have it creating a fully patched 10.5.5 image and that image is
> in both our production Casper 5.13 system as well as our testing Casper 6.01
> system.
>
> This 10.5.5 image is virgin until I install it with Casper. I am using a
> combination of scripts and packages to add a local admin user, prevent the
> setup assistant from appearing, set network preferences, time zone, etc.
>
> When I image with either Casper 5.13 or Casper Imaging 6.01 I'm finding that
> the Computer Name is not getting populated in the Sharing preference pane.
> It is completely blank. If I click the Edit... button to view the Local
> Hostname it shows "Macintosh.local" instead of "MachineName.local".
>
> Has anyone seen this behavior before? I've searched both the Composer and
> Casper mailing list archives but neither returned results for InstaDMG.
>
> Thanks!
Steve Wood
Director of IT
swood at integerdallas.com
The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475
--
The information contained in this email transmission is solely for the addressee(s) named above and is privileged and/or confidential. If the reader of this message is not the intended recipient or the person responsible to deliver it to the intended recipient; he or she is prohibited from reading or disclosing the information contained in this transmission. Any examination, use, dissemination, distribution, or copying of this communication is strictly prohibited. Please contact us immediately by telephone for instructions if you have received this communication in error: (214) 758-6800
More information about the Casper
mailing list