Add additional kernel command line options for ISO boot

Allows Qubes/Ubuntu/Fedora ISO media to be used by default
without a custom kexec_iso_add.txt config
This commit is contained in:
Francis Lam 2018-05-19 10:52:49 -07:00
parent c1be56c5ad
commit 736538a8a2
No known key found for this signature in database
GPG Key ID: 0A59C698920806EB

View File

@ -25,7 +25,7 @@ mount -t iso9660 -o loop $MOUNTED_ISO_PATH /boot \
|| die '$MOUNTED_ISO_PATH: Unable to mount /boot'
DEV_UUID=`blkid $DEV | tail -1 | tr " " "\n" | grep UUID | cut -d\" -f2`
ADD="fromiso=/dev/disk/by-uuid/$DEV_UUID/$ISO_PATH"
ADD="fromiso=/dev/disk/by-uuid/$DEV_UUID/$ISO_PATH iso-scan/filename=/${ISO_PATH}"
REMOVE=""
paramsdir="/media/kexec_iso/$ISO_PATH"