From: Thierry Parmentelat Date: Wed, 28 May 2008 10:20:23 +0000 (+0000) Subject: tmp fix before we use node tags X-Git-Tag: BootManager-4.3-1~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5d9aa0d086ebfde794c46482d9df9002e9236edf;p=bootmanager.git tmp fix before we use node tags --- diff --git a/source/steps/InstallBootstrapFS.py b/source/steps/InstallBootstrapFS.py index e04f930..5e27857 100644 --- a/source/steps/InstallBootstrapFS.py +++ b/source/steps/InstallBootstrapFS.py @@ -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")