Working ISO config for Fedora

This commit is contained in:
Eric Teunis de Boone 2020-11-20 12:00:32 +01:00
parent 554e944766
commit 0dfa03be73

View file

@ -1,6 +1,6 @@
# Fedora Grub Config # Fedora Grub Config
set isopath_fedora="fedora" set isopath_fedora="${isopath}/fedora"
export isopath_fedora export isopath_fedora
# abuse for to check for existence # abuse for to check for existence
@ -25,7 +25,7 @@ for isofile in ${isopath_fedora}/Fedora-*.iso; do
echo "Using ${isoname}..." echo "Using ${isoname}..."
loopback loop $isofile loopback loop $isofile
probe --set isolabel --label (loop) probe --set isolabel --label (loop)
linux (loop)/isolinux/vmlinuz root=live:CDLABEL=${isolabel} rd.live.image iso-scan/filename=${isofile} linux (loop)/isolinux/vmlinuz root=live:CDLABEL=${isolabel} rd.live.image iso-scan/filename=${isofile} rhgb ro
initrd (loop)/isolinux/initrd.img initrd (loop)/isolinux/initrd.img
} }
done done