OpenShift 3.6 Generic Guest Template: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:
Adjust the configuration as described [[Linux_Virtualization_Cloning_a_KVM_Guest_Virtual_Machine#Adjust_the_Configuration|here]].
Adjust the configuration as described [[Linux_Virtualization_Cloning_a_KVM_Guest_Virtual_Machine#Adjust_the_Configuration|here]].


Clone the virtual machine image.
Clone the virtual machine image and create the new disk volumes, as required:
 
* [[Virsh_vol-clone#Cloning_a_qcow2_Volume|Clone a qcow2 virtual machine image]]
Create the new disk volumes, as required.
* [[Virsh_vol-clone#Cloning_a_Raw_Volume|Clone a raw volume]]
* [[Virsh_vol-create-as#Create_a_New_Raw_Block_Storage_Volume|Create a new raw block storage volume]] (a new filesystem will need to be built on this one later).

Revision as of 03:12, 8 November 2017

Internal

Clone the Basic Template

Use the basic template as a base image, and clone it, as described here:

Cloning a Guest

Sequence:

virsh shutdown ocp36.basic-template
virsh dumpxml ocp36.basic-template > /root/environments/ocp36/ocp36.basic-template.xml

cp ocp36.basic-template.xml ocp36.generic-template.xml

Adjust the configuration as described here.

Clone the virtual machine image and create the new disk volumes, as required: