mirror of
https://github.com/mbusb/multibootusb
synced 2024-10-30 21:20:16 +00:00
add support for ubuntu live-server isos
This commit is contained in:
parent
fa89b28f27
commit
a46cd3a1f1
@ -0,0 +1,14 @@
|
||||
for isofile in $isopath/ubuntu-*-live-server-*.iso; do
|
||||
if [ -e "$isofile" ]; then
|
||||
regexp --set=isoname "$isopath/(.*)" "$isofile"
|
||||
submenu "$isoname (loopback.cfg) ->" "$isofile" {
|
||||
iso_path="$2"
|
||||
export iso_path
|
||||
search --set=root --file "$iso_path"
|
||||
loopback loop "$iso_path"
|
||||
root=(loop)
|
||||
configfile /boot/grub/loopback.cfg
|
||||
loopback --delete loop
|
||||
}
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue
Block a user