POSTS IN THIS CATEGORY ARE INCOMPLETE. Read at your own risk!
These are my general notes on configuring a Linux KVM server running on CentOS 6. Hopefully some day this will be complete enough to be in the Guides section.
Base OS Install
PXE boot the installer with no KS, or use the net install ISO.
Make this partition huge:
/var/lib/libvirt/images. Maybe consider doing
/var as a whole.
This server won’t hopefully be doing much else, so no need for a separate
Pay particular order to the commands here. This commands are safe to run through SSH as long as they are done in order.
Create the network script for
[root]$ vim /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE="br0" BOOTPROTO="dhcp" ONBOOT="yes" TYPE="Bridge" NM_CONTROLLED="no"
eth0 config script.
[root]$ vim /etc/sysconfig/network-scripts/ifcfg-eth0
Create / modify these lines:
Restart networking. Holding your breath is required if you are doing this through SSH.
[root]$ /etc/init.d/network restart
If the GUI is installed, the network manager will show no connection…but who cares.
Configure Host Shutdown Procedure
Configure how to shutdown guests when the host is shut down. The comments in this file makes it pretty self-explanatory.
[root]$ vim /etc/sysconfig/libvirt-guests
Script to Create new VMs