Skip to content

Instantly share code, notes, and snippets.

@UnconventionalMindset
Last active October 26, 2022 12:46
Show Gist options
  • Save UnconventionalMindset/632f3892e2149ac826af90892d0cca13 to your computer and use it in GitHub Desktop.
Save UnconventionalMindset/632f3892e2149ac826af90892d0cca13 to your computer and use it in GitHub Desktop.
Script to embed an ignite (.ign) to a Fedora Core OS iso.
$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