[Casper] Computer Name is not populating when imaging
Thomas Larkin
tlarki at kckps.org
Tue Nov 11 14:39:39 PST 2008
If there is no record of that machine in the JSS it won't pull a name down. I haven't really used instaDMG so I can't give you a full reason why it is doing that. I just use Composer to make an OS image after I configure it.
You can try adding a line to your scripts as preflight to name the computer, assuming there is already a name on these boxes you are imaging?
You can try adding a simple variable to your script
compname=scutil --get ComputerName
then just call the $compname in your script to set it like this
scutil --set ComputerName $compname
I would double check my syntax there.
___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
>>> "Smith, William" <william.smith at merrillcorp.com> 11/11/08 4:33 PM >>>
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!
--
bill
William M. Smith, Technical Analyst
MCS IT
Merrill Communications, LLC
(651) 632-1492
_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20081111/c3511552/attachment.htm
More information about the Casper
mailing list