From: Daniel Hokka Zakrisson Date: Mon, 3 Dec 2007 21:38:22 +0000 (+0000) Subject: Use the correct MAC-address. X-Git-Tag: bootmanager-3.2-2~16 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=22c6436b1777e5c5a41ba9fa5e97f717d2f5a974;p=bootmanager.git Use the correct MAC-address. --- diff --git a/source/steps/WriteNetworkConfig.py b/source/steps/WriteNetworkConfig.py index 67bd8e1..dfaa046 100644 --- a/source/steps/WriteNetworkConfig.py +++ b/source/steps/WriteNetworkConfig.py @@ -171,7 +171,7 @@ def Run( vars, log ): f = file("%s/etc/sysconfig/network-scripts/ifcfg-eth%d" % (SYSIMG_PATH, interface), "w") f.write("DEVICE=eth%d\n" % interface) - f.write("HWADDR=%s\n" % mac) + f.write("HWADDR=%s\n" % network['mac']) f.write("ONBOOT=yes\n") f.write("USERCTL=no\n") if method == "static":