Kernel Virtual Machine Host
Introduction
- Using Ubuntu Karmic Koala 9.10.
- Using 32 bit kernel, so limiting guests to 32 bit kernels and 2GB ram.
- Will be using bridge support on host.
- Using hardware that supports virtualization.
Install Karmic Koala
- During the install, on the Software selection screen, choose Virtual Machine Host.
- Run updates and upgrades after first boot:
sudo apt-get update sudo apt-get upgrade
Host bridge network
- Edit /etc/network/interfaces and add br0 interface configured for your network:
sudo vi /etc/network/interfaces ... # The network for kvm virtual machines auto br0 iface br0 inet static address 192.168.2.136 network 192.168.2.0 netmask 255.255.255.0 broadcast 192.168.2.255 gateway 192.168.2.1 bridge_ports eth0 bridge_stp off bridge_fd 0 bridge_maxwait 0 ...
- Restart the network
sudo /etc/init.d/networking restart
- Don't forget to setup dhcp for new guests based on MAC address.
- If virt-install is not installed, run apt-get:
sudo apt-get install python-virtinst