X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=prep.sh;h=d5a75152610ffb8d8044cbc283fdb7d987234096;hb=e69ebe89f21bf8451638ea9e3a01faeab4625eaa;hp=0b7421d62566dc06a8de477974158a067ecfef09;hpb=5409fcd759648b4a2125d88a0f592ffaf7390df9;p=bootcd.git diff --git a/prep.sh b/prep.sh index 0b7421d..d5a7515 100755 --- a/prep.sh +++ b/prep.sh @@ -103,6 +103,10 @@ popd echo "* Installing IPMI utilities" install -D -m 755 ipnmac/ipnmac.x86 $bootcd/usr/sbin/ipnmac +# the place where modprobe.conf gets installed has changed +modprobedist=$(rpm -ql module-init-tools | grep modprobe.conf.dist) +sed -i -e "s,@MODPROBECONFDIST@,$modprobedist,g" conf_files/modprobe.conf + # Install configuration files echo "* Installing configuration files" for file in fstab mtab modprobe.conf inittab hosts sysctl.conf ; do