Skip to content

Commit

Permalink
fix: adds missing command
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq committed Oct 24, 2024
1 parent 62cec79 commit 5dcc576
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible/roles/repo/tasks/redhat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@
- rhelorg.subscribed_pool_ids is defined or rheluser.subscribed_pool_ids is defined
- ansible_distribution_major_version == '8'

# Disable support for EUS repos if this is RHEL 8.10 because its not needed
- name: Disable EUS repos for RHEL 8.10
shell: subscription-manager repos --disable=rhel-8-for-x86_64-baseos-eus-rpms && subscription-manager repos --disable=rhel-8-for-x86_64-appstream-eus-rpms
when:
- ansible_distribution == 'RedHat'
- rhelorg.subscribed_pool_ids is defined or rheluser.subscribed_pool_ids is defined
- ansible_distribution_version is version('8.10', '==')

# RPM
- name: add Konvoy Kubernetes rpm repository
yum_repository:
Expand Down
1 change: 1 addition & 0 deletions bundles/redhat8.10/packages.txt.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ open-vm-tools
python2-pip
python3-pip
socat
sysstat
yum-utils
yum-plugin-versionlock
NetworkManager
Expand Down
4 changes: 4 additions & 0 deletions cmd/konvoy-image-wrapper/cmd/create-package-bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ var osToConfig = map[string]OSConfig{
configDir: "bundles/redhat8.8",
containerImage: "registry.access.redhat.com/ubi8/ubi:8.8",
},
"redhat-8.10": {
configDir: "bundles/redhat8.10",
containerImage: "registry.access.redhat.com/ubi8/ubi:8.10",
},
"rocky-9.1": {
configDir: "bundles/rocky9.1",
containerImage: "docker.io/library/rockylinux:9.1",
Expand Down
1 change: 1 addition & 0 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var (
validOS = []string{
"redhat 8.6",
"redhat 8.8",
"redhat 8.10",
"sles 15",
"oracle 8.9",
"oracle 9.4",
Expand Down

0 comments on commit 5dcc576

Please sign in to comment.