Merge "Debian: Add controller-0 install grub menus to pxe-network-installer"

This commit is contained in:
Zuul 2022-06-03 17:35:18 +00:00 committed by Gerrit Code Review
commit ce3d14e409
2 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,31 @@
timeout=20
default=2
GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT_STYLE='countdown'
menuentry 'StarlingX Debian LAT / Kickstart Boot Menu' {
echo " "
}
menuentry '1) UEFI Boot from hard drive' {
search --set=root --label otaefi
configfile /EFI/BOOT/grub.cfg
}
menuentry '2) UEFI Debian Controller Install' {
linuxefi xxxLAB_PXExxx/bzImage-std rdinit=/install defaultkernel=vmlinuz-*[!t]-amd64 instname=debian instbr=starlingx instab=0 traits=controller BOOTIF=$net_default_mac instdev=/dev/sda ks=xxxBASE_URLxxx/xxxLAB_FEEDxxx/kickstart.cfg insturl=xxxBASE_URLxxx/xxxLAB_FEEDxxx/ostree_repo console=ttyS0,115200 console=tty1 biosdevname=0 biosplusefi=1
initrdefi xxxLAB_PXExxx/initrd
}
menuentry '3) UEFI Debian All-in-one Install' {
linuxefi xxxLAB_PXExxx/bzImage-std rdinit=/install defaultkernel=vmlinuz-*[!t]-amd64 instname=debian instbr=starlingx instab=0 traits=controller,worker BOOTIF=$net_default_mac instdev=/dev/sda ks=xxxBASE_URLxxx/xxxLAB_FEEDxxx/kickstart.cfg insturl=xxxBASE_URLxxx/xxxLAB_FEEDxxx/ostree_repo console=ttyS0,115200 console=tty1 biosdevname=0 biosplusefi=1
initrdefi xxxLAB_PXExxx/initrd
}
menuentry '4) UEFI Debian All-in-one (lowlatency) Install' {
linuxefi xxxLAB_PXExxx/bzImage-rt rdinit=/install defaultkernel=vmlinuz-*-rt-amd64 instname=debian instbr=starlingx instab=0 traits=controller,worker,lowlatency efi=runtime BOOTIF=$net_default_mac instdev=/dev/sda ks=xxxBASE_URLxxx/xxxLAB_FEEDxxx/kickstart.cfg insturl=xxxBASE_URLxxx/xxxLAB_FEEDxxx/ostree_repo console=ttyS0,115200 console=tty1 biosdevname=0 biosplusefi=1
initrdefi xxxLAB_PXExxx/initrd
}

View File

@ -0,0 +1,40 @@
serial 0 115200
timeout 50
default 4
# Menu Configuration
MENU WIDTH 80
MENU MARGIN 10
MENU PASSWORDMARGIN 3
MENU ROWS 12
MENU TABMSGROW 18
MENU CMDLINEROW 18
MENU ENDROW 24
MENU PASSWORDROW 11
MENU TIMEOUTROW 20
MENU TITLE StarlingX Debian LAT / Kickstart Boot Menu
label 0
menu label ^0) Boot from hard drive
menu default
COM32 chain.c32
APPEND hd0
label 1
menu label ^1) Debian Controller Install
kernel xxxLAB_PXExxx/bzImage-std
append initrd=xxxLAB_PXExxx/initrd rdinit=/install defaultkernel=vmlinuz-*[!t]-amd64 instname=debian instbr=starlingx instab=0 traits=controller instdev=/dev/sda ks=xxxBASE_URLxxx/xxxLAB_FEEDxxx/kickstart.cfg insturl=xxxBASE_URLxxx/xxxLAB_FEEDxxx/ostree_repo console=ttyS0,115200 console=tty1 biosdevname=0 biosplusefi=1
ipappend 2
label 2
menu label ^2) Debian All-in-one Install
kernel xxxLAB_PXExxx/bzImage-std
append initrd=xxxLAB_PXExxx/initrd rdinit=/install defaultkernel=vmlinuz-*[!t]-amd64 instname=debian instbr=starlingx instab=0 traits=controller,worker instdev=/dev/sda ks=xxxBASE_URLxxx/xxxLAB_FEEDxxx/kickstart.cfg insturl=xxxBASE_URLxxx/xxxLAB_FEEDxxx/ostree_repo console=ttyS0,115200 console=tty1 biosdevname=0 biosplusefi=1
ipappend 2
label 3
menu label ^2) Debian All-in-one (lowlatency) Install
kernel xxxLAB_PXExxx/bzImage-rt
append initrd=xxxLAB_PATHxxx/initrd rdinit=/install defaultkernel=vmlinuz-*-rt-amd64 instname=debian instbr=starlingx instab=0 traits=controller,worker,lowlatency instdev=/dev/sda ks=xxxBASE_URLxxx/xxxLAB_FEEDxxx/kickstart.cfg insturl=xxxBASE_URLxxx/xxxLAB_FEEDxxx/ostree_repo console=ttyS0,115200 console=tty1 biosdevname=0 biosplusefi=1
ipappend 2