I'm trying to do all my post imaging configuration with scripts. One script
changes the network location and sets up some proxies. Trouble is that after
the script runs the ssh session terminates. The location change sends a new
dhcp request or something and the computer is off line for half a second.
That messes with Casper's ablity to execute the rest of the policy.
Lesson learned. Don't change network connections over a remote session.
Seems so obvious now.
The nice thing about the script was that it would create locations and
proxies on the default service names - Ethernet 1 for MacPros and Ethernet
for MacBooks.
I'm wondering if I can still use the script and Casper but somehow make the
script run off the remote session. Maybe use launchd?
Any tricks to changing the network on a remote computer with Casper?