Would like to move to to https://github.com/rug-cit-hpc/pg-playbooks but has large files...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

3 lines
124 B

#!/bin/bash
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/ CentOS*
sed -i '/name=/a enabled=0' /etc/yum.repos.d/CentOS*