From: Thierry Parmentelat Date: Fri, 2 Apr 2010 12:03:39 +0000 (+0000) Subject: yum to use http to fetch myplc rpms as they are GPG checked anyway X-Git-Tag: BootstrapFS-2.0-3~2 X-Git-Url: http://git.onelab.eu/?p=nodeimage.git;a=commitdiff_plain;h=78ac2e59d2a6eb74ebb4f122ea79a65f96272ec6 yum to use http to fetch myplc rpms as they are GPG checked anyway --- diff --git a/nodeconfig/yum/myplc.repo.php b/nodeconfig/yum/myplc.repo.php index e26287d..d06da92 100644 --- a/nodeconfig/yum/myplc.repo.php +++ b/nodeconfig/yum/myplc.repo.php @@ -42,7 +42,10 @@ $nodeflavour=$adm->GetNodeFlavour($node_id); $nodefamily=$nodeflavour['nodefamily']; $topdir=$_SERVER['DOCUMENT_ROOT'] . "/install-rpms/" . $nodefamily; -$topurl="https://$PLC_BOOT_HOST" . "/install-rpms/" . $nodefamily; +# Thierry : starting with fedora 12, yum complains about not being able to +# verify the certificates; as we're using gpgcheck on top of the rest, +# it's safe to use http only +$topurl="http://$PLC_BOOT_HOST" . "/install-rpms/" . $nodefamily; if ( is_dir (realpath($topdir))) { echo "# This directory was checked to exist on the server-side\n";