From: Aaron Klingaman Date: Thu, 28 Jul 2005 23:23:47 +0000 (+0000) Subject: allow any node that has their node_id specified to update their mac X-Git-Tag: BOOTMANAGER_PL_BOX_STABLE~13 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=2b4bcf5966ec45e34db24fdf15c4cbbaf7fd0423 allow any node that has their node_id specified to update their mac addr at plc. before, it also had to have a 3.x cd. --- diff --git a/source/steps/GetAndUpdateNodeDetails.py b/source/steps/GetAndUpdateNodeDetails.py index 48416fb..eb8dedb 100644 --- a/source/steps/GetAndUpdateNodeDetails.py +++ b/source/steps/GetAndUpdateNodeDetails.py @@ -103,7 +103,7 @@ def Run( vars, log ): # only nodes that have the node_id specified directly in the configuration # file can change their mac address - if BOOT_CD_VERSION[0] == 3 and WAS_NODE_ID_IN_CONF == 1: + if WAS_NODE_ID_IN_CONF == 1: network['mac']= NETWORK_SETTINGS['mac'] network['gateway']= NETWORK_SETTINGS['gateway']