Created
April 14, 2024 23:36
-
-
Save taosx/878db3a108b712d3498a10d01c5f5e8e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
# Set source URI | |
set mirror http://download.fedoraproject.org/pub/fedora/linux/releases/38 | |
# Detect CPU architecture and calculate repository URI | |
cpuid --ext 29 && set arch x86_64 || set arch i386 | |
set repo ${mirror}/Everything/${arch}/os | |
# Start installer | |
kernel ${repo}/images/pxeboot/vmlinuz initrd=initrd.img inst.repo=${repo} | |
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