I've been trying to use a VMM service template as a method to deploy one (or more) VMs to a VMM Cloud with custom configuration. I'm trying to findgood documentation on the application/scripting functions in the application profile section.
For each of the Script Application, Script to Applicationand Script to Application Profile items:
I'm trying to find out for each type of script (script application/script to application/script to application profile):
- Where exactly does each script run in the build sequence? I'm assuming it's on the VM itself, and the "pre-install"/"post-install" refers to the install of theapplications listed in the application profile. Not sure about "Creation:" and "Deletion:" scripts.
- In what user context does each script run if no run-as account is specified? LocalSystem?
- Is there an interactive session open when the script is running? That is, could I connect to the console of the VM and observe what is happening?
Does anyone have any tips for debugging?
Really, what I'm looking for is something to give a good overview as to how VMM actually executes these steps, so I can understand the execution environment for my scripts.