Last active
October 25, 2022 22:25
-
-
Save UnconventionalMindset/f4ca2d66b943f916b5fecfad698b47ea to your computer and use it in GitHub Desktop.
Script to embed to iPXE to run Fedora core OS from RAM
This file contains hidden or 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 STREAM stable | |
set VERSION 36.20221001.3.0 | |
set CONFIGURL https://raw.githubusercontent.com/UnconventionalMindset/coreos-setup/main/coreos.ign | |
set BASEURL https://builds.coreos.fedoraproject.org/prod/streams/${STREAM}/builds/${VERSION}/x86_64 | |
dhcp | |
kernel ${BASEURL}/fedora-coreos-${VERSION}-live-kernel-x86_64 initrd=main coreos.live.rootfs_url=${BASEURL}/fedora-coreos-${VERSION}-live-rootfs.x86_64.img ignition.firstboot ignition.platform.id=metal ignition.config.url=${CONFIGURL} | |
initrd --name main ${BASEURL}/fedora-coreos-${VERSION}-live-initramfs.x86_64.img | |
boot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment