I have an ubuntu image that I start under libvirt/qemu. I'd like to pass in a custom script at boot time that can be executed from rc.local. I can do this with Amazon EC2 instances via their user-data.
I'd like to replicate this feature with my own VM's.