From c7d2b924d9463abe272296244c96985373b8eac0 Mon Sep 17 00:00:00 2001
From: Eesaan Atluri <atlurie@uab.edu>
Date: Fri, 8 Nov 2024 23:51:48 -0600
Subject: [PATCH] feat: Enable CRB repository in almalinux for epel

Many EPEL packages require the CodeReady Builder (CRB) repository
It is recommended that you run /usr/bin/crb enable to enable the
CRB repository.
---
 openstack-proxy/nodeimage.pkr.hcl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/openstack-proxy/nodeimage.pkr.hcl b/openstack-proxy/nodeimage.pkr.hcl
index e3629e1..fc1a471 100644
--- a/openstack-proxy/nodeimage.pkr.hcl
+++ b/openstack-proxy/nodeimage.pkr.hcl
@@ -39,6 +39,7 @@ build {
   provisioner "shell" {
     inline = [
       "sudo yum install -y epel-release",
+      "sudo dnf config-manager --set-enabled crb",
       "sudo yum install -y libselinux-python3 python3 python3-pip tmux vim git bash-completion curl wget unzip",
       "sudo python3 -m pip install --upgrade pip",
       "sudo pip3 install s3cmd==2.3.0 ansible==4.10.0 python-openstackclient==5.8.0"
-- 
GitLab