Customizing Red Hat and CentOS to Provision KVM (workaround) |
|
|
|
|
||
Customizing Red Hat and CentOS to Provision KVM (workaround) |
|
|
|
|
|
|
|
||
Provisioner 6.5.0/6.5.1, by default, provisions systems with the non-virtualized packages of Red Hat and CentOS. Provisioner's next release will support provisioning KVM without a workaround.
In order to customize the provisioning process to support virtualization using KVM, install the patch then complete the workaround steps as shown in the following CentOS 6.4 KVM and 5.10 KVM examples.
The patch installed the following files in /home/tftpboot/templates:
centos5_10_x86_64_kvm-ks.tmpl
centos6_4_x86_64_kvm-ks.tmpl
rhel5_10_x86_64_kvm-ks.tmpl
rhel6_4_x86_64_kvm-ks.tmpl
Note: you can modify these templates by editing the statements containing ";;" to substitute different CentOS and Red Hat releases and modifying the workaround steps below accordingly.
Example: Provisioning CentOS 6.4 KVM
If not already completed, load the ISO media for CentOS 6.4 x86_64.
On the Provisioner server, complete the following steps:
# cd /home/tftpboot/pub
# mkdir centos6_4_x86_64_kvm
# cd centos6_4_x86_64_kvm
# ln -s ../centos6_4_x86_64/disc1 NOTE: Link must be a relative path ../ and not a full path /home/...
Using the administrative GUI, complete the following:
Create a Provisioning Role Template for CentOS 6.4 KVM as shown below:

Assign the Provisioning Role Template to a MAC-Specific Provisioning Role.

PXE boot the client to provision KVM. The resulting provisioned CentOS 6.4 KVM system login page is shown below:
