OpenShift 3.6 Basic Guest Template: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


=Procedure=
=Procedure=
==Template Creation==


Make sure the required storage pools have been configured as described in the [[OpenShift_3.6_Virtualization_Host_Preparation|Virtualization Host Preparation]] page.
Make sure the required storage pools have been configured as described in the [[OpenShift_3.6_Virtualization_Host_Preparation|Virtualization Host Preparation]] page.
Line 29: Line 31:
The command will enter in text interactive mode.
The command will enter in text interactive mode.


==Basic Template Interactive Installation Options==
==First-Boot Configuration==


* English/American
* English/American

Revision as of 00:12, 8 November 2017

Internal

Overview

This is the simplest possible guest template, which will be used as a base for various other types of guests or more complex templates.

Procedure

Template Creation

Make sure the required storage pools have been configured as described in the Virtualization Host Preparation page.

The template creation procedure is described in detail in the virt-install page. Drive the installation from the procedure described there, as it contains critical details.

The actual command is:

virt-install 
  --name ocp36.basic-template
  --memory 1024 
  --vcpus 2 
  --os-variant=rhel7.4
  --location /iso-images/rhel-server-7.4-x86_64-dvd.iso
  --extra-args="console=tty0 console=ttyS0,115200n8"
  --disk=/iso-images/rhel-server-7.4-x86_64-dvd.iso,device=cdrom
  --disk=/main-storage-pool/ocp36.basic-template.qcow2,size=7
  --network default
  --graphics none

The command will enter in text interactive mode.

First-Boot Configuration

  • English/American
  • Network
    • Host name: basic-template.ocp36.local
    • eth0: 192.168.122.21/255.255.255.0/192.168.1.1, IPV6 ignore, nameservers: 8.8.8.8, connect automatically after reboot, apply configuration in installer.
  • Timezone 3 82, NTP server 129.6.15.28
  • Software selection: minimal install
  • Installation destination: vda, use all space, Standard partition.
  • Disable kdump
  • root password