move the comment as it causes problems with e100 and e1000.
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Mon, 23 Mar 2009 16:28:02 +0000 (16:28 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Mon, 23 Mar 2009 16:28:02 +0000 (16:28 +0000)
this fixes the interface problem we had with plc 4.3 / centos5

source/steps/WriteModprobeConfig.py

index e193384..8984e41 100644 (file)
@@ -71,7 +71,8 @@ def Run( vars, log, filename = "/etc/modprobe.conf"):
     # the 'alias ethX a_mod' lines in modprobe.conf
     count=0
     for a_mod in sysmods[systeminfo.MODULE_CLASS_NETWORK]:
-        line="alias eth%d %s # Want to comment this out in the future.\n" % (count,a_mod) 
+        line="# Want to comment this out in the future.\n"
+        line="alias eth%d %s\n" % (count,a_mod) 
         modulesconf_file.write(line)
         count=count+1