I would like to use the "run once" feature in VMware's guest customization scripts to run an interactive script to further customize the guest OS (ie SNMP community, DNS suffix, add local user/pass). It must be an interactive prompt because the values can be different per VM. I am not joining these to a domain.
Has anyone tried this before or have a good resource for customizing W2k3 via script?
I do this on my Windows 2003 and 2008 guests. Put the script in the c:\windows\system32\ folder on the template. Within the customization settings you can add a onetime script to be run. You'll also need to tell the system to automatically login once so that the script runs.
The last line of my script has a reboot command to reboot the guest after the script is complete.
(I'm assuming that you are using ESX for this.)