Skip to content

Instantly share code, notes, and snippets.

@displague
Last active May 26, 2021 16:02
Show Gist options
  • Save displague/5282172449a83c7b83821f8f8333a072 to your computer and use it in GitHub Desktop.
Save displague/5282172449a83c7b83821f8f8333a072 to your computer and use it in GitHub Desktop.
#!ipxe
dhcp net0
set release 4.7
set zstream 0
set arch x86_64
set ignition-url https://metadata.platformequinix.com/userdata
#set coreos-url https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/${release}/${release}.${zstream}
set coreos-url https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/4.7.0/
#set coreos-img ${coreos-url}/rhcos-${release}.${zstream}-${arch}-metal.${arch}.raw.gz
set coreos-img https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/4.7.0/rhcos-4.7.0-x86_64-metal.x86_64.raw.gz
set console console=ttyS1,115200n8
# kernel ${coreos-url}/rhcos-${release}.${zstream}-${arch}-installer-kernel-${arch} ${console} ip=dhcp nameserver=1.1.1.1 nomodeset rd.peerdns=0 rd.neednet=1 initrd=rhcos-${release}.${zstream}-${arch}-installer-initramfs.${arch}.img coreos.inst=yes coreos.first_boot=1 coreos.inst.install_dev=sda coreos.inst.image_url=${coreos-img} coreos.inst.ignition_url=${ignition-url} rd.net.timeout.carrier=30 coreos.inst.platform_id=packet coreos.inst.persistent-kargs="console=ttyS1,115200n8"
# kernel https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/pre-release/latest-4.6/rhcos-live-kernel-x86_64 console=ttyS1,115200n8 ip=dhcp nameserver=1.1.1.1 nomodeset rd.peerdns=0 rd.neednet=1 initrd=rhcos-live-initramfs.x86_64.img coreos.inst=yes coreos.first_boot=1 coreos.inst.install_dev=sda coreos.inst.image_url=https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/pre-release/latest-4.6/rhcos-live-rootfs.x86_64.img coreos.inst.ignition_url=https://metadata.packet.net/userdata rd.net.timeout.carrier=30 coreos.inst.platform_id=packet coreos.inst.persistent-kargs="console=ttyS1,115200n8"
kernel https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/4.7.0/rhcos-live-kernel-x86_64 console=ttyS1,115200n8 initrd=rhcos-live-initramfs.x86_64.img coreos.live.rootfs_url=http://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/4.7.0/rhcos-live-rootfs.x86_64.img coreos.inst.install_dev=/dev/sda rd.net.timeout.carrier=30 coreos.inst.platform_id=packet
#initrd ${coreos-url}/rhcos-${release}.${zstream}-${arch}-installer-initramfs.${arch}.img
initrd https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.7/4.7.0/rhcos-live-initramfs.x86_64.img
boot
@displague
Copy link
Author

Noting that I have a similar gist open for CentOS Stream https://gist.github.com/displague/cd5938eb7584dd1c1cc76c28a3f9c762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment