Working ISO config for Fedora
This commit is contained in:
parent
554e944766
commit
0dfa03be73
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue