tmp fix before we use node tags
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 28 May 2008 10:20:23 +0000 (10:20 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 28 May 2008 10:20:23 +0000 (10:20 +0000)
source/steps/InstallBootstrapFS.py

index e04f930..5e27857 100644 (file)
@@ -95,8 +95,8 @@ def Run( vars, log ):
     try:
         nodes = BootAPI.call_api_function(vars, "GetNodes", ([NODE_ID], ['nodegroup_ids']))
         node = nodes[0]
-        nodegroups = BootAPI.call_api_function(vars, "GetNodeGroups", (node['nodegroup_ids'], ['name']))
-        nodegroupnames = [ nodegroup['name'].lower() for nodegroup in nodegroups ]
+        nodegroups = BootAPI.call_api_function(vars, "GetNodeGroups", (node['nodegroup_ids'], ['groupname']))
+        nodegroupnames = [ nodegroup['groupname'].lower() for nodegroup in nodegroups ]
 
     except:
         log.write("WARNING : Failed to query nodegroups - installing only core software\n")