Here-documents already do parameter expansion if EOF is unquoted, so no
need for the sed.
This commit is contained in:
parent
b2952ee6d4
commit
8ea83f4810
|
@ -121,7 +121,7 @@ if [ -e boot$N/isolinux/f3.txt.with26 ];then
|
||||||
done
|
done
|
||||||
cp -a cdrom/2.6 $CDDIR/install/2.6
|
cp -a cdrom/2.6 $CDDIR/install/2.6
|
||||||
# Isolinux config file.
|
# Isolinux config file.
|
||||||
sed "s/\$KERNEL_PARAMS/$KERNEL_PARAMS/g" > boot$N/isolinux/isolinux.cfg <<EOF
|
cat > boot$N/isolinux/isolinux.cfg <<EOF
|
||||||
DEFAULT /install/vmlinuz APPEND $KERNEL_PARAMS vga=normal initrd=/install/initrd.gz ramdisk_size=10240 root=/dev/rd/0 init=/linuxrc devfs=mount,dall rw
|
DEFAULT /install/vmlinuz APPEND $KERNEL_PARAMS vga=normal initrd=/install/initrd.gz ramdisk_size=10240 root=/dev/rd/0 init=/linuxrc devfs=mount,dall rw
|
||||||
LABEL linux
|
LABEL linux
|
||||||
kernel /install/vmlinuz
|
kernel /install/vmlinuz
|
||||||
|
|
Loading…
Reference in New Issue