Cisco Server Provisioner 6.6 User's Guide ("Chuck Berry")

Customizing Red Hat and CentOS to Provision KVM (workaround)

Hide Navigation Pane

Customizing Red Hat and CentOS to Provision KVM (workaround)

Previous topic Next topic No expanding text in this topic  

Customizing Red Hat and CentOS to Provision KVM (workaround)

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

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:

 

MAC-Spec_create_Template_KVM_CentOS_64_dropdown

 

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

 

MAC-Spec_create_role_KVM_CentOS_64

 

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

KVM_CentOS_64_login