<HTML>
<HEAD>
<TITLE>Re: [Casper] Automating Server Installs</TITLE>
</HEAD>
<BODY>
<FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>I love InstaDMG, even though I haven&#8217;t been over following the development closely. &nbsp;I do not add a lot to the build train, just the major updates (10.5.5 for example), the Create User package to create the 501 user, Quick Add to get the machine into Casper, the Clear Reg to clear the registration screens, and a home grown package to drop a user picture file. &nbsp;The only problem I&#8217;ve noticed with the image and Casper is that I am having problems re-naming the machine when imaging it to either a name already in Casper, or to the MAC or S/N. &nbsp;I have not investigated this yet, and in writing this I&#8217;m questioning the wisdom of adding the Quick Add to the image and not doing it on restart or something. &nbsp;I&#8217;ll have to test that.<BR>
<BR>
On restart after imaging I have a post image script that runs to set some small things:<BR>
<BR>
# now set the time zone<BR>
<BR>
systemsetup -settimezone America/Chicago<BR>
<BR>
# enable network time<BR>
<BR>
systemsetup -setusingnetworktime on<BR>
<BR>
# set the time server<BR>
<BR>
systemsetup -setnetworktimeserver time.apple.com<BR>
<BR>
# set sleep times<BR>
<BR>
systemsetup -setcomputersleep never<BR>
<BR>
systemsetup -setdisplaysleep 15<BR>
<BR>
# now re-run recon<BR>
<BR>
jamf -recon<BR>
<BR>
# finally, reboot<BR>
<BR>
shutdown -r now<BR>
<BR>
The script does more than that, like add another hidden user, but those are the relevant parts.<BR>
<BR>
I also use the images built from InstaDMG as NetBoot images. &nbsp;Makes life very easy.<BR>
<BR>
<BR>
<BR>
No ideas on the server side. &nbsp;I&#8217;ve never played around with automating a server build, simply because I don&#8217;t have a need to mass build servers.<BR>
<BR>
<BR>
<BR>
</SPAN><FONT SIZE="4"><SPAN STYLE='font-size:11pt'><B>Steve Wood<BR>
</B>Director of IT<BR>
<FONT COLOR="#FE0000"><a href="swood@integerdallas.com">swood@integerdallas.com</a><BR>
</FONT><BR>
<B>The Integer Group</B> &nbsp;| &nbsp;1999 Bryan St. &nbsp;| &nbsp;Ste. 1700 &nbsp;| &nbsp;Dallas, TX 75201<BR>
T 214.758.6813 &nbsp;| &nbsp;F 214.758.6901 &nbsp;| &nbsp;C 940.312.2475<BR>
</SPAN></FONT><SPAN STYLE='font-size:10pt'><BR>
<BR>
<BR>
On 10/31/08 2:16 PM, &quot;Miles Leacy&quot; &lt;<a href="miles.leacy@themacadmin.com">miles.leacy@themacadmin.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>This message is in two parts...<BR>
<BR>
For anyone using InstaDMG with the Casper suite, I'd like to hear your experiences. &nbsp;I like the idea of never having booted my base system before dropping it. &nbsp;I'm curious as to how deeply we can mesh the InstaDMG concept &amp; methodology with the Casper tool. &nbsp;It seems that they should be largely compatible.<BR>
<BR>
Secondly, I'm trying to automate my Mac OS X Server installs. &nbsp;Right now, I'm just thinking through workflow conceptually.<BR>
<BR>
If I create a Netinstall image from the OS X Server install disc, I'll still need to get a configuration file to the machine. &nbsp;There's the simple Apple answer of putting the configuration file on a USB key attached to the server, but I'm looking for a more automated way that won't require me to ever see the server, just to know its serial number . &nbsp;I've got Casper, and I want to rebuild Xserves via my iPhone at a caf&eacute; while on my way to more interesting things.<BR>
<BR>
One thought I had was to create a traditional image at a point before going through the server setup, and include the configuration file as a separate package on top of the image. &nbsp;Theoretically, at first boot, the system should see a config file present and use it.<BR>
<BR>
If anyone has any ideas, or better yet, proven workflows, I'd love to hear about them.<BR>
<BR>
Thanks,<BR>
Miles<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><SPAN STYLE='font-size:10pt'><FONT FACE="Lucida Grande">_______________________________________________<BR>
Casper mailing list<BR>
<a href="Casper@list.jamfsoftware.com">Casper@list.jamfsoftware.com</a><BR>
<a href="http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.jamfsoftware.com/mailman/listinfo/casper</a><BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:10pt'><FONT FACE="Lucida Grande"><BR>
</FONT></SPAN><FONT SIZE="4"><FONT FACE="Arial"><SPAN STYLE='font-size:11pt'><B><BR>
<BR>
Steve Wood<BR>
</B>Director of IT<BR>
<FONT COLOR="#FF0000"><a href="swood@integerdallas.com">swood@integerdallas.com</a><BR>
</FONT><BR>
<B>The Integer Group</B> &nbsp;| &nbsp;1999 Bryan St. &nbsp;| &nbsp;Ste. 1700 &nbsp;| &nbsp;Dallas, TX 75201<BR>
T 214.758.6813 &nbsp;| &nbsp;F 214.758.6901 &nbsp;| &nbsp;C 940.312.2475</SPAN></FONT></FONT><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT>
<BR />
<BR />
<HR />
--<BR />
The&nbsp;information&nbsp;contained&nbsp;in&nbsp;this&nbsp;email&nbsp;transmission&nbsp;is&nbsp;solely&nbsp;for&nbsp;the&nbsp;addressee(s)&nbsp;named&nbsp;above&nbsp;and&nbsp;is&nbsp;privileged&nbsp;and/or&nbsp;confidential.&nbsp;&nbsp;If&nbsp;the&nbsp;reader&nbsp;of&nbsp;this&nbsp;message&nbsp;is&nbsp;not&nbsp;the&nbsp;intended&nbsp;recipient&nbsp;or&nbsp;the&nbsp;person&nbsp;responsible&nbsp;to&nbsp;deliver&nbsp;it&nbsp;to&nbsp;the&nbsp;intended&nbsp;recipient;&nbsp;he&nbsp;or&nbsp;she&nbsp;is&nbsp;prohibited&nbsp;from&nbsp;reading&nbsp;or&nbsp;disclosing&nbsp;the&nbsp;information&nbsp;contained&nbsp;in&nbsp;this&nbsp;transmission.&nbsp;&nbsp;Any&nbsp;examination,&nbsp;use,&nbsp;dissemination,&nbsp;distribution,&nbsp;or&nbsp;copying&nbsp;of&nbsp;this&nbsp;communication&nbsp;is&nbsp;strictly&nbsp;prohibited.&nbsp;&nbsp;Please&nbsp;contact&nbsp;us&nbsp;immediately&nbsp;by&nbsp;telephone&nbsp;for&nbsp;instructions&nbsp;if&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error:&nbsp;(214)&nbsp;758-6800<BR />
</BODY>
</HTML>