Skip to content

Commit

Permalink
Updated Oracle Linux configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mexit committed Mar 19, 2024
1 parent 273a1c2 commit 90ee21b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
19 changes: 8 additions & 11 deletions config/oracleLinux/OracleLinux.cfg
Original file line number Diff line number Diff line change
@@ -1,45 +1,42 @@
# Oracle Linux
# https://www.oracle.com/linux

iso_subdir="OracleLinux"
iso_pattern="OracleLinux-*-x86_64-*.iso"
grub_configfile=""

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

submenu "$isoname ->" "$isofile" {
iso_path="$2"
loopback loop $iso_path
root=(loop)
probe --label --set=cd_label (loop)
isocfg="iso-scan/filename=$iso_path"
bootoptions="inst.stage2=hd:LABEL=$cd_label"
linux_path="/images/pxeboot/vmlinuz"
initrd_path="/images/pxeboot/initrd.img"
linux_path="(loop)/images/pxeboot/vmlinuz"
initrd_path="(loop)/images/pxeboot/initrd.img"

menuentry "Install Oracle Linux" {
echo Loading kernel...
linux $linux_path $bootoptions $isocfg quiet
linux $linux_path $isocfg $bootoptions quiet
echo Loading initrd...
initrd $initrd_path
}
menuentry "Test this media & install Oracle Linux" {
echo Loading kernel...
linux $linux_path $bootoptions $isocfg rd.live.check quiet
linux $linux_path $isocfg $bootoptions rd.live.check quiet
echo Loading initrd...
initrd $initrd_path
}
menuentry "Install Oracle Linux in basic graphics mode" {
menuentry "Install Oracle Linux in text mode" {
echo Loading kernel...
linux $linux_path $bootoptions $isocfg nomodeset quiet
linux $linux_path $isocfg $bootoptions inst.text quiet
echo Loading initrd...
initrd $initrd_path
}
menuentry "Rescue a Oracle Linux system" {
echo Loading kernel...
linux $linux_path $bootoptions $isocfg rescue quiet
linux $linux_path $isocfg $bootoptions inst.rescue quiet
echo Loading initrd...
initrd $initrd_path
}
Expand Down
8 changes: 0 additions & 8 deletions config/oracleLinux/OracleLinux.txt

This file was deleted.

0 comments on commit 90ee21b

Please sign in to comment.