X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FWriteModprobeConfig.py;h=8984e41dfcd461b5de419721d4aa243561793f49;hb=ea8b321df93614902dc627096744b35e225df9d8;hp=e193384290fe1a4096341199005627502a3ef7a3;hpb=0003e244cb2677a5575f6a833e6e646ffb7b5f8e;p=bootmanager.git diff --git a/source/steps/WriteModprobeConfig.py b/source/steps/WriteModprobeConfig.py index e193384..8984e41 100644 --- a/source/steps/WriteModprobeConfig.py +++ b/source/steps/WriteModprobeConfig.py @@ -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