Skip to content
Open
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
33 changes: 33 additions & 0 deletions config/secureblue/secureblue.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Secureblue (Fedora Atomic-based Live ISO)
# https://secureblue.dev/

iso_pattern="secureblue-*.iso"

for isofile in $iso_dir/$iso_pattern; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$iso_dir/(.*)" "$isofile"

submenu "$isoname ->" "$isofile" "$iso_dir/$isoname" {
iso_path="$3"
LOOPBACK "$2"
probe --label --set=cd_label (loop)
isocfg="iso-scan/filename=$iso_path"
bootoptions="root=live:CDLABEL=$cd_label rd.live.image quiet rhgb"
linux_path="(loop)/boot/vmlinuz"
initrd_path="(loop)/boot/initramfs.img"

menuentry "secureblue Live ISO" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions
echo Loading initrd...
initrd $initrd_path
}
menuentry "secureblue Live ISO (Basic Graphics Mode)" {
echo Loading kernel...
linux $linux_path $isocfg $bootoptions nomodeset
echo Loading initrd...
initrd $initrd_path
}
}
fi
done