Skip to content

Instantly share code, notes, and snippets.

@crawford
Last active February 10, 2021 21:48
Show Gist options
  • Save crawford/e64166d29408a51f90caaebc8f087066 to your computer and use it in GitHub Desktop.
Save crawford/e64166d29408a51f90caaebc8f087066 to your computer and use it in GitHub Desktop.
iPXE script for RHCOS on Packet.net
#!ipxe
set base-url http://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/latest/latest
kernel ${base-url}/rhcos-4.4.3-x86_64-installer-kernel-x86_64 initrd=${base-url}/rhcos-4.4.3-x86_64-installer-initramfs.x86_64.img console=ttyS1,115200 ip=dhcp rd.neednet=1 coreos.inst=yes coreos.inst.install_dev=sda coreos.inst.image_url=${base-url}/rhcos-4.4.3-x86_64-metal.x86_64.raw.gz coreos.inst.ignition_url=https://gist.githubusercontent.com/crawford/0d98ab75b0aa5ca4b1fb54bbe2a225b3/raw/d26af1cf30893c2f05bd8dc69f72503b5f4406e7/ssh.json
initrd ${base-url}/rhcos-4.4.3-x86_64-installer-initramfs.x86_64.img
boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment