Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 3abe7fdd authored by Fabio Hernandez's avatar Fabio Hernandez
Browse files

Limit check of preconfigured CernVM FS client to lsst.in2p3.fr

parent 1c0be549
......@@ -24,9 +24,10 @@ fi
# Configure CernVM FS
# WARNING: make sure we don't overwrite any existing configuration, different
# than ours
if [ -e /etc/cvmfs/default.local ]; then
diff "/etc/cvmfs/default.local" "default.local" > /dev/null 2>&1
if [ $? -ne 0 ]; then
localConfig="/etc/cvmfs/default.local"
if [ -e ${localConfig} ]; then
repos=`grep CVMFS_REPOSITORIES ${localConfig} | sed s/CVMFS_REPOSITORIES=//g`
if [ -n $repos ] && [ $repos != "lsst.in2p3.fr" ]; then
echo "CernVM FS seems to be already configured in this machine in a potentially incompatible way"
echo "see file /etc/cvmfs/default.local"
exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment