Buildbot Setup for Virtual Machines - Ubuntu 9.04 amd64
Base install
qemu-img create -f qcow2 vm-jaunty-amd64-serial.qcow2 8G
kvm -m 1024 -hda vm-jaunty-amd64-serial.qcow2 -cdrom /kvm/ubuntu-9.04-server-amd64.iso -redir tcp:2227::22 -boot d -smp 2 -cpu qemu64 -net nic,model=virtio -net userSerial port and passwordless login/sudo
kvm -m 1024 -hda vm-jaunty-amd64-serial.qcow2 -cdrom /kvm/ubuntu-9.04-server-amd64.iso -redir tcp:2227::22 -boot c -smp 2 -cpu qemu64 -net nic,model=virtio -net user
sudo apt-get install emacs22-noxAdd to /boot/grub/menu.lst:
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=3 serial consolealso add in menu.lst to kernel line (after removing `quiet splash'):
console=tty0 console=ttyS0,115200n8Create /etc/event.d/ttyS0:
# ttyS0 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.
start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5
stop on runlevel 0
stop on runlevel 1
stop on runlevel 6
respawn
exec /sbin/getty 115200 ttyS0Add account and allow passwordless sudo:
VM for .deb building
VM for install testing
This page is licensed: CC BY-SA / Gnu FDL
PreviousBuildbot Setup for Virtual Machines - Ubuntu 8.04, 8.10, and 9.10NextBuildbot Setup for Virtual Machines - Ubuntu 9.04 i386
Last updated
Was this helpful?

