From 2b4bcf5966ec45e34db24fdf15c4cbbaf7fd0423 Mon Sep 17 00:00:00 2001 From: Aaron Klingaman Date: Thu, 28 Jul 2005 23:23:47 +0000 Subject: [PATCH] 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. --- source/steps/GetAndUpdateNodeDetails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- 2.43.0