A simple Upstart recipe for KVM
Might not be the most advanced, but hey, it works. You just need to alter the mac address and the display for each machine. I'm running this on Ubuntu 10.04 (Lucid) and it seems to work great.
/etc/init/my-kvm.conf:
description "my-kvm" start on (net-device-up and local-filesystems) stop on runlevel [016] respawn exec /usr/bin/kvm -hda /root/virtual-machines/my-kvm.bin -no-acpi -m 128 -net nic,macaddr=DE:AD:BE:EF:18:12 -net tap -vnc :0
Enjoy.
Categories: Software