Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions mbusb.d/fedora.d/atomic-generic.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
for isofile in $isopath/Fedora-Atomic-*.iso; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$isopath/(.*)" "$isofile"
# Skip Live ISOs
if regexp "Live" "$isofile"; then continue; fi
submenu "$isoname ->" "$isofile" {
iso_path="$2"
_loopback loop "$iso_path"
probe --label --set=cd_label (loop)
menuentry "Install Fedora" {
bootoptions="iso-scan/filename=$iso_path inst.stage2=hd:LABEL=$cd_label quiet"
linux (loop)/images/pxeboot/vmlinuz $bootoptions
initrd (loop)/images/pxeboot/initrd.img
}
menuentry "Test this media & install Fedora" {
bootoptions="iso-scan/filename=$iso_path inst.stage2=hd:LABEL=$cd_label rd.live.check quiet"
linux (loop)/images/pxeboot/vmlinuz $bootoptions
initrd (loop)/images/pxeboot/initrd.img
}
menuentry "Install Fedora in basic graphics mode" {
bootoptions="iso-scan/filename=$iso_path inst.stage2=hd:LABEL=$cd_label nomodeset quiet"
linux (loop)/images/pxeboot/vmlinuz $bootoptions
initrd (loop)/images/pxeboot/initrd.img
}
menuentry "Rescue a Fedora system" {
bootoptions="iso-scan/filename=$iso_path inst.stage2=hd:LABEL=$cd_label rescue quiet"
linux (loop)/images/pxeboot/vmlinuz $bootoptions
initrd (loop)/images/pxeboot/initrd.img
}
menuentry "Run a memory test" {
bootoptions=""
linux16 (loop)/images/pxeboot/memtest $bootoptions
}
}
fi
done