diff --git a/ansible/cluster.yml b/ansible/cluster.yml
index 910268e05f7923f1a20b6828fa30ea11cf4cec2e..ef6c9524e97c7ed8964449489b789f2e566ec77e 100644
--- a/ansible/cluster.yml
+++ b/ansible/cluster.yml
@@ -3,7 +3,6 @@
   hosts: all
   become: true
   roles:
-    - { name: 'fix_centos_repo', tags: 'fix_centos_repo' }
     - { name: 'cheaha.node', tags: 'cheaha.node' }
     - { name: 'nfs_mounts', tags: 'nfs_mounts' }
     - { name: 'ldap_config', tags: 'ldap_config' }
diff --git a/openstack-proxy/nodeimage.pkr.hcl b/openstack-proxy/nodeimage.pkr.hcl
index 54967da6b67482e0dbbfbd483ad122583bad1b2c..fc1a471220be66203a0adeacf917ceb667fce3eb 100644
--- a/openstack-proxy/nodeimage.pkr.hcl
+++ b/openstack-proxy/nodeimage.pkr.hcl
@@ -38,10 +38,9 @@ build {
 
   provisioner "shell" {
     inline = [
-      "sudo sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*",
-      "sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*",
       "sudo yum install -y epel-release",
-      "sudo yum install -y libselinux-python3 python3 tmux vim git bash-completion curl wget unzip",
+      "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"
     ]