diff --git a/mbusb.d/ipfire.d/generic64.cfg b/mbusb.d/ipfire.d/generic64.cfg new file mode 100644 index 00000000..057330a2 --- /dev/null +++ b/mbusb.d/ipfire.d/generic64.cfg @@ -0,0 +1,36 @@ +for isofile in $isopath/ipfire-*x86_64*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname ->" "$isofile" { + iso_path="$2" + loopback loop "$iso_path" + menuentry "Install IPFire" { + bootoptions="root=UUID=$rootuuid bootfromiso=$iso_path vga=791" + linux (loop)/boot/isolinux/vmlinuz $bootoptions + initrd (loop)/boot/isolinux/instroot + } + submenu "Other installation options" { + menuentry "Install IPFire (text mode)" { + bootoptions="root=UUID=$rootuuid bootfromiso=$iso_path novga" + linux (loop)/boot/isolinux/vmlinuz $bootoptions + initrd (loop)/boot/isolinux/instroot + } + menuentry "Unattended installation" { + bootoptions="root=UUID=$rootuuid bootfromiso=$iso_path installer.unattended" + linux (loop)/boot/isolinux/vmlinuz $bootoptions + initrd (loop)/boot/isolinux/instroot + } + menuentry "Install IPFire (serial)" { + bootoptions="root=UUID=$rootuuid bootfromiso=$iso_path console=ttyS0,115200 novga" + linux (loop)/boot/isolinux/vmlinuz $bootoptions + initrd (loop)/boot/isolinux/instroot + } + menuentry "Unattended installation (serial)" { + bootoptions="root=UUID=$rootuuid bootfromiso=$iso_path console=ttyS0,115200 novga unattended" + linux (loop)/boot/isolinux/vmlinuz $bootoptions + initrd (loop)/boot/isolinux/instroot + } + } + } + fi +done