git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d4e6bea
)
Added optional filename argument to write_modprobe_config() function for
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 10 Mar 2006 06:25:14 +0000
(06:25 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 10 Mar 2006 06:25:14 +0000
(06:25 +0000)
testing purposes.
source/steps/InstallWriteConfig.py
patch
|
blob
|
history
diff --git
a/source/steps/InstallWriteConfig.py
b/source/steps/InstallWriteConfig.py
index
f7e164f
..
ca6e0ba
100644
(file)
--- a/
source/steps/InstallWriteConfig.py
+++ b/
source/steps/InstallWriteConfig.py
@@
-387,7
+387,7
@@
def write_network_configuration( vars, log ):
-def write_modprobeconf_file( vars, log
):
+def write_modprobeconf_file( vars, log
, filename = "/etc/modprobe.conf"
):
"""
write out the system file /etc/modprobe.conf with the current
set of modules.
@@
-422,7
+422,7
@@
def write_modprobeconf_file( vars, log ):
eth_count= 0
scsi_count= 0
- modulesconf_file= file("%s/
etc/modprobe.conf" % SYSIMG_PATH
, "w" )
+ modulesconf_file= file("%s/
%s" % (SYSIMG_PATH,filename)
, "w" )
for type in sysmods:
if type == sysinfo.MODULE_CLASS_SCSI: