6.2.2. Selecting a Package Source

If you do not supply an install_method parameter, the scripts assume that the installation source has already been configured to provide the required packages. Using the install_method parameter, the scripts can be configured to install packages from one of the following sources:

Table 6.2. Options for the install_method Parameter

Parameter Description Additional Related Parameters
yum Configures yum based on supplied additional parameters. rhel_repo, rhel_optional_repo, jboss_repo_base, rhscl_repo_base, ose_repo_base, ose_extra_repo_base
rhsm Uses Red Hat Subscription Management. rhn_user, rhn_pass, sm_reg_pool, rhn_reg_opts
rhn Uses RHN Classic. rhn_user, rhn_pass, rhn_reg_opts, rhn_reg_actkey

Note

While Red Hat Network (RHN) Classic can be used to subscribe to channels, it is primarily intended for existing, legacy systems. Red Hat strongly recommends that you use Red Hat Subscription Management for new installations. For details on how to migrate from RHN Classic to RHSM, see the OpenShift Enterprise Administration Guide.
See the commented notes in the header of the scripts for detailed information about each of the additional related parameters.
For example, the following command runs the openshift.sh script and uses Red Hat Subscription Management as the package source, using default values for all unspecified parameters:

Example 6.5. Selecting a Package Source Using openshift.sh

$ sudo sh openshift.sh install_method=rhsm rhn_user=user@example.com rhn_pass=password sm_reg_pool=Example_3affb61f013b3ef6a5fe0b9a