Hi,

I have installed apache cloudstack 4.9 and am using KVM for hpyervisors. I need 
to have some startup scripts that executes automatically once the VM is up and 
running. Basically, that script would be responsible for creating db from .sql 
files in mysql database and also make few changes in a config file to reflect 
the connection string settings.

Currently, I have no idea what to start with? How do I write a script? should 
it be a bash script or something? How to make it execute on VM creation? I am 
using CentOS 6.8 on cloudstack and my hypervisors as well.


Regards

Adeel

Reply via email to