default vesamenu.c32
timeout 300

display boot.msg

menu clear
menu background splash.png
menu title CentOS and Rocky Linux Install
menu vshift 8
menu rows 18
menu margin 8
menu helpmsgrow 15
menu tabmsgrow 13

menu color border * #00000000 #00000000 none
menu color sel 0 #ffffffff #00000000 none
menu color title 0 #ff7ba3d0 #00000000 none
menu color tabmsg 0 #ff3a6496 #00000000 none
menu color unsel 0 #84b8ffff #00000000 none
menu color hotsel 0 #84b8ffff #00000000 none
menu color hotkey 0 #ffffffff #00000000 none
menu color help 0 #ffffffff #00000000 none
menu color scrollbar 0 #ffffffff #ff355594 none
menu color timeout 0 #ffffffff #00000000 none
menu color timeout_msg 0 #ffffffff #00000000 none
menu color cmdmark 0 #84b8ffff #00000000 none
menu color cmdline 0 #ffffffff #00000000 none

menu tabmsg Press Tab for full configuration options on menu items.
menu separator # insert an empty line
menu separator # insert an empty line

menu begin Install CentOS 7
    menu title Install CentOS 7

label linux 7
  menu label ^Auto Install CentOS 7 (Minimal)
  kernel c7/vmlinuz
  append initrd=c7/initrd.img inst.ks=http://ipaddress/ksfile/c7_min.conf quiet net.ifnames=0

label linux 7
  menu label ^Auto Install CentOS 7 (^GUI)
  kernel c7/vmlinuz
  append initrd=c7/initrd.img inst.ks=http://ipaddress/ksfile/c7_gui.conf quiet net.ifnames=0

label linux 7
  menu label ^Manual Install CentOS 7
  kernel c7/vmlinuz
  append initrd=c7/initrd.img inst.repo=http://ipaddress/redhat/c7 quiet net.ifnames=0

label linux 7
  menu indent count 5
  menu label ^Rescue CentOS 7 system
  kernel c7/vmlinuz
  append initrd=c7/initrd.img inst.repo=http://ipaddress/redhat/c7 rescue

menu separator # insert an empty line
label returntomain
  menu label Return to ^main menu
  menu exit
menu end

# Rockys options
menu begin Install Rocky 8
    menu title Install Rocky 8

label linux 8
  menu label ^Auto Install Rocky 8 (Minimal)
  kernel r8/vmlinuz
  append initrd=r8/initrd.img inst.ks=http://ipaddress/ksfile/r8_min.conf quiet net.ifnames=0

label linux 8
  menu label ^Auto Install Rocky 8 (^GUI)
  kernel r8/vmlinuz
  append initrd=r8/initrd.img inst.ks=http://ipaddress/ksfile/r8_gui.conf quiet net.ifnames=0

label linux 8
  menu label ^Manual Install Rocky 8
  kernel r8/vmlinuz
  append initrd=r8/initrd.img inst.repo=http://ipaddress/redhat/r8 quiet net.ifnames=0

label linux 8
  menu indent count 5
  menu label ^Rescue Rocky 8 system
  kernel r8/vmlinuz
  append initrd=r8/initrd.img inst.repo=http://ipaddress/redhat/r8 rescue

menu separator # insert an empty line
label returntomain
  menu label Return to ^main menu
  menu exit
menu end

menu separator # insert an empty line
label local
  menu default
  menu label Boot from ^local drive
  localboot 0xffff

menu end
