Last active
October 26, 2022 12:46
-
-
Save UnconventionalMindset/632f3892e2149ac826af90892d0cca13 to your computer and use it in GitHub Desktop.
Script to embed an ignite (.ign) to a Fedora Core OS iso.
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
$latest = "https://builds.coreos.fedoraproject.org/prod/streams/next/builds/36.20220906.1.0/x86_64/fedora-coreos-36.20220906.1.0-live.x86_64.iso" | |
$path = "C:\coreos-setup\" | |
$iso = "coreos-latest.iso" | |
$ign = "install.ign" | |
curl -o ${path}${iso} ${latest} | |
curl -o ${path}${ign} https://raw.githubusercontent.com/UnconventionalMindset/coreos-setup/main/install.ign | |
docker run -i ` | |
-v ${path}${iso}:/$iso ` | |
-v ${path}${ign}:/$ign ` | |
quay.io/coreos/coreos-installer:latest ` | |
iso ignition embed -f -i /$ign /$iso |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment