i want a vcloud director vm to run a command or file when it is powered on.
I explored about customization script, but it looks like the script doesnt execute everytime the vm is powered on.
i'm accessing the vm through vcloud .net sdk. Is there any way by which i can run a command when the vm is powered on ?
i need to run my tasks once the vm starts. please suggest some ways.
I can think of two ways which both involve vRO. Use the blocking tasks feature of vCD (also requires a RabbitMQ server). You could also use an orchestrator policy that triggers on the state change of a VC:VirtualMachine.