OpenShift 3.6 Generic Guest Template: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:
* [[Virsh_vol-clone#Cloning_a_Raw_Volume|Clone a raw volume]]
* [[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).
* [[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).
virsh define /root/environments/ocp36/ocp36.generic-template.xml

Revision as of 03:16, 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:

virsh define /root/environments/ocp36/ocp36.generic-template.xml