OpenShift 3.6 Generic Guest Template: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:


  virsh start --console ocp36.generic-template
  virsh start --console ocp36.generic-template
Then [[Reconfigure Linux VM Guest Image|reconfigure Linux VM Guest Image]].

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