OpenShift 3.6 Generic Guest Template: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
virsh define /root/environments/ocp36/ocp36.generic-template.xml | virsh define /root/environments/ocp36/ocp36.generic-template.xml | ||
virsh start --console ocp36.generic-template |
Revision as of 03:34, 8 November 2017
Internal
Clone the Basic Template
Use the basic template as a base image, and clone it, as described here:
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:
- Clone a qcow2 virtual machine image
- Clone a raw 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
virsh start --console ocp36.generic-template