Skip to content

Instantly share code, notes, and snippets.

@vielmetti
Forked from anonymous/2a-fedora.ipxe
Last active February 11, 2018 02:21
Show Gist options
  • Save vielmetti/e29386a1d3d9a62e9af8cedde996eb1c to your computer and use it in GitHub Desktop.
Save vielmetti/e29386a1d3d9a62e9af8cedde996eb1c to your computer and use it in GitHub Desktop.
#!ipxe
# Set source URI
set mirror http://fedoramirror.joecompany.com/fedora-secondary/releases/27/
set mirror http://download-ib01.fedoraproject.org/pub/fedora-secondary/releases/27
# Detect CPU architecture and calculate repository URI
set arch aarch64
set repo ${mirror}/Everything/aarch64/os
# Start installer
kernel ${repo}/images/pxeboot/vmlinuz initrd=initrd.img repo=${repo} console=ttyAMA0,115200
initrd ${repo}/images/pxeboot/initrd.img
boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment