Enable local repo is not working on yum systems
@@ -38,6 +38,8 @@ if [ $enable_local_repo == "true" ]; then
yum -y install yum-utils
sudo echo "gpgcheck=0" >> /etc/yum.conf
sudo yum-config-manager --add-repo file:///bigtop-home/output
+ sudo echo "gpgcheck=0" >> /etc/yum.repos.d/bigtop-home_output.repo
+ sudo echo "priority=10" >> /etc/yum.repos.d/bigtop-home_output.repo
else
echo "local yum = $enable_local_repo ; NOT Enabling local yum. Packages will be pulled from remote..."
fi
