File tree Expand file tree Collapse file tree
kickstart-templates/includes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222# openshift-client and crio from OpenShift Mirror.
2323# Excludes all to avoid unintentionally sourcing packages from here that
2424# should come from a centos repos.
25- OCPVERSION =4.REPLACE_MINOR_VERSION
25+ OCPMAJOR =REPLACE_MAJOR_VERSION
26+ OCPMINOR =REPLACE_MINOR_VERSION
27+ OCPVERSION =" ${OCPMAJOR}.${OCPMINOR}"
2628OCPREPO =" openshift-${OCPVERSION}-mirror"
2729cat > " /etc/yum.repos.d/${OCPREPO}.repo" <<EOF
2830[${OCPREPO}]
2931name =Openshift ${OCPVERSION} Mirror
30- baseurl =" https://mirror.openshift.com/pub/openshift-v4 /$(uname -m)/dependencies/rpms/${OCPVERSION}-el9-beta/"
32+ baseurl =" https://mirror.openshift.com/pub/openshift-v${OCPMAJOR} /$(uname -m)/dependencies/rpms/${OCPVERSION}-el9-beta/"
3133gpgcheck =0
3234enabled =1
3335EOF
Original file line number Diff line number Diff line change 11{{- if env.Getenv "RHOCP_MINOR_Y" "" -}}
22id = " rhocp-y"
3- name = " Red Hat OpenShift Container Platform 4 .{{ .Env.RHOCP_MINOR_Y }} for RHEL 9"
3+ name = " Red Hat OpenShift Container Platform {{ .Env.RHOCP_MAJOR_Y }} .{{ .Env.RHOCP_MINOR_Y }} for RHEL 9"
44type = " yum-baseurl"
5- url = " https://cdn.redhat.com/content/dist/layered/rhel9/{{ .Env.UNAME_M }}/rhocp/4 .{{ .Env.RHOCP_MINOR_Y }}/os"
5+ url = " https://cdn.redhat.com/content/dist/layered/rhel9/{{ .Env.UNAME_M }}/rhocp/{{ .Env.RHOCP_MAJOR_Y }} .{{ .Env.RHOCP_MINOR_Y }}/os"
66# Reenable GPG check when build platform switches to RHEL 9.8
77check_gpg = false
88check_ssl = true
Original file line number Diff line number Diff line change 11{{- if env.Getenv "RHOCP_MINOR_Y1" "" -}}
22id = " rhocp-y1"
3- name = " Red Hat OpenShift Container Platform 4 .{{ .Env.RHOCP_MINOR_Y1 }} for RHEL 9"
3+ name = " Red Hat OpenShift Container Platform {{ .Env.RHOCP_MAJOR_Y1 }} .{{ .Env.RHOCP_MINOR_Y1 }} for RHEL 9"
44type = " yum-baseurl"
5- url = " https://cdn.redhat.com/content/dist/layered/rhel9/{{ .Env.UNAME_M }}/rhocp/4 .{{ .Env.RHOCP_MINOR_Y1 }}/os"
5+ url = " https://cdn.redhat.com/content/dist/layered/rhel9/{{ .Env.UNAME_M }}/rhocp/{{ .Env.RHOCP_MAJOR_Y1 }} .{{ .Env.RHOCP_MINOR_Y1 }}/os"
66# Reenable GPG check when build platform switches to RHEL 9.8
77check_gpg = false
88check_ssl = true
Original file line number Diff line number Diff line change 11{{- if env.Getenv "RHOCP_MINOR_Y2" "" -}}
22id = " rhocp-y2"
3- name = " Red Hat OpenShift Container Platform 4 .{{ .Env.RHOCP_MINOR_Y2 }} for RHEL 9"
3+ name = " Red Hat OpenShift Container Platform {{ .Env.RHOCP_MAJOR_Y2 }} .{{ .Env.RHOCP_MINOR_Y2 }} for RHEL 9"
44type = " yum-baseurl"
5- url = " https://cdn.redhat.com/content/dist/layered/rhel9/{{ .Env.UNAME_M }}/rhocp/4 .{{ .Env.RHOCP_MINOR_Y2 }}/os"
5+ url = " https://cdn.redhat.com/content/dist/layered/rhel9/{{ .Env.UNAME_M }}/rhocp/{{ .Env.RHOCP_MAJOR_Y2 }} .{{ .Env.RHOCP_MINOR_Y2 }}/os"
66# Reenable GPG check when build platform switches to RHEL 9.8
77check_gpg = false
88check_ssl = true
You can’t perform that action at this time.
0 commit comments