This was a hot topic last summer and it seems that this guy on the forums I frequent figured it out. I have no test it out yet but I have gone through his rather extensive script. Looks very promising.
http://bigmaconcampus.wordpress.com/2009/03/25/wireless-installer-for-the-masses/
I guess there was a lack of API support form the command line to insert keychains but with a little creative scripting and using apple script it can be done.
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351
