File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
scripts/iso-remaster/samples Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 66# unpacked rootfs to modify
77INSTALLIMG=" $1 "
88
9+ # # Include an answerfile (also needs answerfile=file:// in patch-iso.sh)
10+ # cp ~/my/preset.xml "$INSTALLIMG/"
11+
912# # Include a locally-modified version of the installer for testing
1013# HOSTINSTALLER=$HOME/src/xs/host-installer
1114# if [ -r "$HOSTINSTALLER"/Makefile ]; then
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ SED_COMMANDS+=(-e "s@^@@")
2727# # get an answerfile over the network
2828# SED_COMMANDS+=(-e "s@/vmlinuz@/vmlinuz install answerfile=http://pxe/configs/preset.xml@")
2929
30+ # # get an answerfile from the ISO's install.img (also needs to copy preset.xml in patch-installimg.sh)
31+ # SED_COMMANDS+=(-e "s@/vmlinuz@/vmlinuz install answerfile=file:///preset.xml@")
32+
3033sed -i " ${SED_COMMANDS[@]} " \
3134 " $ISODIR " /* /* /grub* .cfg \
3235 " $ISODIR " /boot/isolinux/isolinux.cfg
You can’t perform that action at this time.
0 commit comments