paulrg
Contributor
Contributor

Execute OS script at VM startup

Does anyone know of a way to run a OS script (.bat or perl) as soon as a VM is up and running in vCD? Can this be done with Standard vCD or is there another application with in the vCD Suite which can/does do this?

This would be a use case where we are attempting to automatically setup a test environment for developers or testers. Rather than have those users run the script, as soon as the VM is up and running, the script(s) would be run automatically.

Thanks!

Paul

0 Kudos
1 Reply
admin
Immortal
Immortal

I have found your solution I think!

According to VMware vCloud Director 5.5 Documentation Center

You can upload a customization script to the vm.  The script runs before and after guest customization when you deploy a VM based on a vApp template.  I believe this will do what you are looking for.

0 Kudos