Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

It seems my question is the result of misunderstanding. Amazon EC2 user-data is retrieved by an http request to a special static IP.

The user data is probably then looked up via mac-address. So there is no special magic with the user-data being passed in as the machine boots.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.