need auth in this context
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 26 Jan 2010 16:22:52 +0000 (16:22 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 26 Jan 2010 16:22:52 +0000 (16:22 +0000)
PLC/Methods/GetBootMedium.py

index c274a51..2eb52f9 100644 (file)
@@ -244,7 +244,7 @@ class GetBootMedium(Method):
         return file
 
     # see also GetNodeFlavour that does similar things
-    def get_nodefamily (self, node):
+    def get_nodefamily (self, node, auth):
         pldistro = self.api.config.PLC_FLAVOUR_NODE_PLDISTRO
         fcdistro = self.api.config.PLC_FLAVOUR_NODE_FCDISTRO
         arch = self.api.config.PLC_FLAVOUR_NODE_ARCH
@@ -441,7 +441,7 @@ class GetBootMedium(Method):
             nodename = "".join(map(hexa2,tempbytes))
 
         # get nodefamily
-        (pldistro,fcdistro,arch) = self.get_nodefamily(node)
+        (pldistro,fcdistro,arch) = self.get_nodefamily(node,auth)
         self.nodefamily="%s-%s-%s"%(pldistro,fcdistro,arch)
 
         # apply on globals