pxeboot/files/grub.cfg

33 lines
1.6 KiB
INI

set timeout=10
source /boot/nodes/${net_default_ip}
menuentry "localboot" {
exit
}
menuentry "debcore-x86_64" {
linux /wit-pxeboot/vmlinuz-amd64 console=tty0 console=ttyS1,115200n8 size=5000
initrd /wit-pxeboot/initramfs-amd64.gz
}
menuentry "debcore-arm64" {
linux /wit-pxeboot/vmlinuz-arm64 console=tty0 console=ttyAMA0,115200n8 size=5000
initrd /wit-pxeboot/initramfs-arm64.gz
}
menuentry "install-x86_64" {
linux /wit-pxeboot/vmlinuz-amd64 console=tty0 console=ttyS1,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export INSTALLEXTRA=wit-config; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1'
initrd /wit-pxeboot/initramfs-amd64.gz
}
menuentry "install-arm64" {
linux /wit-pxeboot/vmlinuz-arm64 console=tty0 console=ttyAMA0,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export INSTALLEXTRA=wit-config; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1'
initrd /wit-pxeboot/initramfs-arm64.gz
}
#
#label installbastion
# kernel wit-pxeboot/vmlinuz
# append initrd=wit-pxeboot/initramfs.gz acpi=off console=tty0 console=ttyS1,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export ANSIBLEPULL="--extra-vars=bastion_bootstrap=true --accept-host-key --key-file=/tmp/id_rsa --url=git@git.wit.com:netops/ansible.git bastion-usw3-temp.yaml"; export INSTALLEXTRA="git ansible"; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1' ---
#