Creating an CentOS 6 Temple in oVirt 3.1

Creating a CentOS template.

1) Miniumal install of Center OS 6
2) su - # Switch User to root
3) wget -P /etc/yum.repos.d/
4) yum install rhev-agent-pam-rhev-cred rhev-agent
5) service rhev-agentd start
6) Yum -y upgrade # Install al updates.
7) Install any packages you want on the system.

8) touch /.unconfigured #Reset the root password and ask some first boot questions.
9) rm -rf /etc/ssh/ssh_host_* # remove host ssh keys.
10) /etc/udev/rules.d/70-persistent-net.rules # Remove mac addresses from the existing system to allow the replacement Mac to work.
11) poweroff