diff --git a/anaconda/scripts/mk-images.x86 b/anaconda/scripts/mk-images.x86 index a560034..b201f2a 100644 --- a/anaconda/scripts/mk-images.x86 +++ b/anaconda/scripts/mk-images.x86 @@ -100,7 +100,7 @@ makeBootImages() { # insert XEN boot options sed -i 's/kernel vmlinuz/kernel mboot.c32/' $MBD_BOOTTREE/isolinux.cfg - sed -i "s/append initrd=.*/append $xenimage --- $kernelimage stage2=hd:LABEL=\"$CDLABEL\" rdblacklist=aesni-intel --- $initrd/" $MBD_BOOTTREE/isolinux.cfg + sed -i "s/append initrd=[^ ]*\(.*\)/append $xenimage --- $kernelimage stage2=hd:LABEL=\"$CDLABEL\" rdblacklist=aesni-intel\1 --- $initrd/" $MBD_BOOTTREE/isolinux.cfg # copy in memtest if present if [ -f $IMGPATH/usr/lib/anaconda-runtime/boot/memtest* ]; then