Revision 5fcdc80d lib/mcpu.py

b/lib/mcpu.py
201 201
      for key in lu_env:
202 202
        env["GANETI_" + key] = lu_env[key]
203 203

  
204
    if self.cfg is not None:
205
      env["GANETI_CLUSTER"] = self.cfg.GetClusterName()
206 204
    if self.sstore is not None:
205
      env["GANETI_CLUSTER"] = self.sstore.GetClusterName()
207 206
      env["GANETI_MASTER"] = self.sstore.GetMasterNode()
208 207

  
209 208
    for key in env:

Also available in: Unified diff