Revision 75cf411a lib/config.py
b/lib/config.py | ||
---|---|---|
1486 | 1486 |
item.uuid = self._GenerateUniqueID(_UPGRADE_CONFIG_JID) |
1487 | 1487 |
modified = True |
1488 | 1488 |
if not self._config_data.nodegroups: |
1489 |
default_nodegroup = objects.NodeGroup(name="default", members=[]) |
|
1489 |
default_nodegroup_name = constants.INITIAL_NODE_GROUP_NAME |
|
1490 |
default_nodegroup = objects.NodeGroup(name=default_nodegroup_name, |
|
1491 |
members=[]) |
|
1490 | 1492 |
self._UnlockedAddNodeGroup(default_nodegroup, _UPGRADE_CONFIG_JID, True) |
1491 | 1493 |
modified = True |
1492 | 1494 |
for node in self._config_data.nodes.values(): |
Also available in: Unified diff