I've added simple line:
python <path-to-my-script> &
to /etc/rc.local, but I've noticed that after migration from one host to the other one, the script sometimes fails.
I'm using KVM, VM's are under Ubuntu 12.04 32-bits. Host's have Ubuntu 12.04 64-bits and I'm using Live Migration (private cloud built with Openstack).
I don't know it's KVM/Libvirt's fault or maybe I'm doing something wrong on Ubuntu or maybe it's cloud software's fault?
Could it be rc.local fault? Is there something what I should to know, when I'm using rc.local and it may be a cause of this behaviour?