OpenShift 3.6 Generic Guest Template: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
{{Internal|Linux Virtualization Cloning a KVM Guest Virtual Machine|Cloning a Guest}}
{{Internal|Linux Virtualization Cloning a KVM Guest Virtual Machine|Cloning a Guest}}


Sequence:
The particular sequence follows:


  virsh shutdown ocp36.basic-template
  virsh shutdown ocp36.basic-template

Revision as of 03:45, 8 November 2017

Internal

Procedure

Clone the Basic Template

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

Cloning a Guest

The particular sequence follows:

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 described in Cloning a Guest.

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

Then reconfigure Linux VM Guest Image.