Skip to content

Instantly share code, notes, and snippets.

@numbnet
Created September 21, 2020 19:24
Show Gist options
  • Save numbnet/3cbe2a7b92c5e3ce463c1383b2b65e6c to your computer and use it in GitHub Desktop.
Save numbnet/3cbe2a7b92c5e3ce463c1383b2b65e6c to your computer and use it in GitHub Desktop.
##### install.ipxe #####
#!ipxe
set base http://mirror.centos.org/centos/7/os/x86_64
prompt -k 0x197e -t 2000 Press F12 to install CentOS... || exit
kernel ${base}/images/pxeboot/vmlinuz initrd=initrd.img repo=${base}
initrd ${base}/images/pxeboot/initrd.img
boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment