From: Alina Quereilhac Date: Fri, 23 Jan 2015 10:51:17 +0000 (+0100) Subject: Removing MyPLC credentials requirements in update_fedora_repo.py X-Git-Tag: nepi-3.2.0~11 X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=commitdiff_plain;h=c9d46a2c9d44f80e3e9d376896484dd98f469935 Removing MyPLC credentials requirements in update_fedora_repo.py --- diff --git a/examples/planetlab/update_fedora_repo.py b/examples/planetlab/update_fedora_repo.py index 63b6f1d6..623a1e17 100644 --- a/examples/planetlab/update_fedora_repo.py +++ b/examples/planetlab/update_fedora_repo.py @@ -84,8 +84,11 @@ for hostname in hosts: ec.set(node, "identity", pl_ssh_key) # The pluser and plpassword are the ones used to login in the PlanetLab web # site. Replace with your own user and password account information. - ec.set(node, "pluser", pl_user) - ec.set(node, "plpassword", pl_password) + if pl_user: + ec.set(node, "pluser", pl_user) + if pl_password: + ec.set(node, "plpassword", pl_password) + ec.set(node, "critical", False) # Remove previous results ec.set(node, "cleanExperiment", True)