Some of the steps from my test of cobbler / centos / virtualbox.
- Download Centos 6 minimal ISO, install it on a virtualbox guest #1.
- Call it centos6a.
- Configure it with ~8GB root partition, 1GB memory & 2 network interfaces, eth0 bridged adaptor, eth1 internal network.
- Unless you really want it I recommend disabling SELinux.
- Manually configure eth1 on a private network (system-config-network), you will configure dnsmasq/cobbler later to use this private network
- Install & configure cobbler & cobbler-web as per this HOWTO.
- Review settings & modules.conf in /etc/cobbler/ – particularly dhcp & tftp settings.
- Copy the centos 6 iso over to centos6a and mount it
- mount -o loop /tmp/c6a.iso /mnt
- Import the centos 6 iso
- cobbler import –path=/mnt –name=Centos6 –arch=x86_64
- cp /etc/cobbler/dnsmasq.template /etc/cobbler/dnsmasq.conf clean up & restart dnsmasq
- cobbler sync
- Create virtualbox client #2 (centos6b)
- 512MB memory, 1 network interface (eth0 internal, adaptor type PC-Net III (for PXE boot)), ~4GB diskspace
- Settings -> Motherboard, move network to top of boot order
- Boot centos6b – it should install from cobbler
Other resources: Start Here