{"id":18089021,"url":"https://github.com/eriksjolund/create-fcos-iso-with-ssh-key","last_synced_at":"2026-04-24T21:31:55.869Z","repository":{"id":92822518,"uuid":"307059746","full_name":"eriksjolund/create-fcos-iso-with-ssh-key","owner":"eriksjolund","description":"Bash script to create a Fedora CoreOS live iso customized with your SSH public key. Docker or Podman is used in the script.","archived":false,"fork":false,"pushed_at":"2021-01-02T14:09:58.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-09T21:03:17.943Z","etag":null,"topics":["bash-script","fedora-coreos","ignition","iso","ssh-key"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eriksjolund.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-25T08:58:24.000Z","updated_at":"2024-05-18T07:13:04.000Z","dependencies_parsed_at":"2023-03-16T08:45:31.570Z","dependency_job_id":null,"html_url":"https://github.com/eriksjolund/create-fcos-iso-with-ssh-key","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eriksjolund/create-fcos-iso-with-ssh-key","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fcreate-fcos-iso-with-ssh-key","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fcreate-fcos-iso-with-ssh-key/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fcreate-fcos-iso-with-ssh-key/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fcreate-fcos-iso-with-ssh-key/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eriksjolund","download_url":"https://codeload.github.com/eriksjolund/create-fcos-iso-with-ssh-key/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriksjolund%2Fcreate-fcos-iso-with-ssh-key/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32241602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-script","fedora-coreos","ignition","iso","ssh-key"],"created_at":"2024-10-31T17:42:43.873Z","updated_at":"2026-04-24T21:31:55.846Z","avatar_url":"https://github.com/eriksjolund.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-fcos-iso-with-ssh-key\nQuick and easy way to create a personalized iso file of [Fedora CoreOS](https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/) that contains your public SSH key.\n\n## Introduction\n\nThe bash script _create-fcos-iso-with-ssh-key.sh_ will\n\n1. Download an official iso file into a temporary directory (created with `mktemp -d`)\n2. Embed your public SSH key on to the iso \n3. Print the filepath of the iso to stdout\n\n## Requirements\n\n__podman__ or __docker__\n\n## Usage\n\n```\n$ bash ./create-fcos-iso-with-ssh-key.sh podman x86_64 stable ~/.ssh/id_rsa.pub myuser\n```\n\n| argument nr | value |\n| --          | --    |\n| 1           | _podman_ or _docker_ |\n| 2           | architecture (_x86_64_, ...) |\n| 3           | _stable_, _testing_ or _next_ |\n| 4           | path to your public SSH key |\n| 5           | username (choose _core_ if you need sudo permissions) |\n\n\n## Examples\n\nDownload the _stable_ release with the architecture *x86_64* and create the user _core_ and let the public SSH key _~/.ssh/id_rsa.pub_\nbe able to log in over ssh to that account. The software _podman_ is the tool used to run the containers in the bash script.\n\n```\n$ bash ./create-fcos-iso-with-ssh-key.sh podman x86_64 stable ~/.ssh/id_rsa.pub core 2\u003e /dev/null\n/tmp/tmp.E6sy3HM3Ls/fedora-coreos-32.20201004.3.0-live.x86_64.iso\n```\n\nThe same command once again, but this time without `2\u003e /dev/null` so that progress information is shown.\n\n```\n$ bash ./create-fcos-iso-with-ssh-key.sh podman x86_64 stable ~/.ssh/id_rsa.pub core\nTrying to pull quay.io/coreos/fcct:release...\nGetting image source signatures\nCopying blob sha256:34dbed599d79d8b71ec20eff9d57e57d37c74a576e2e2e9eb4c1aed8aad11ad7\nCopying blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4\nWriting manifest to image destination\nStoring signatures\nTrying to pull quay.io/coreos/coreos-installer:release...\nGetting image source signatures\nCopying blob sha256:dc2be5cbf70d0fc92b67e0fc72813da304e922cd67e20d2ecf6d1f5ca79e38b6\nCopying blob sha256:1b33617cbc3e97135769d6a9216e0c2d53c325ce519f8d54f8e60b2c240351e7\nCopying blob sha256:4a6d7f80866db4acdc4139d978466d2367dc80b9df353dd05be478fffaf97ee8\nCopying blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4\nWriting manifest to image destination\nStoring signatures\nRead disk 41.1 MiB/742.0 MiB (5%)\nRead disk 79.5 MiB/742.0 MiB (10%)\nRead disk 122.5 MiB/742.0 MiB (16%)\nRead disk 164.6 MiB/742.0 MiB (22%)\nRead disk 207.6 MiB/742.0 MiB (27%)\nRead disk 245.9 MiB/742.0 MiB (33%)\nRead disk 293.8 MiB/742.0 MiB (39%)\nRead disk 337.1 MiB/742.0 MiB (45%)\nRead disk 368.8 MiB/742.0 MiB (49%)\nRead disk 397.8 MiB/742.0 MiB (53%)\nRead disk 426.4 MiB/742.0 MiB (57%)\nRead disk 460.8 MiB/742.0 MiB (62%)\nRead disk 497.2 MiB/742.0 MiB (67%)\nRead disk 532.4 MiB/742.0 MiB (71%)\nRead disk 564.8 MiB/742.0 MiB (76%)\nRead disk 598.4 MiB/742.0 MiB (80%)\nRead disk 632.9 MiB/742.0 MiB (85%)\nRead disk 663.1 MiB/742.0 MiB (89%)\nRead disk 691.3 MiB/742.0 MiB (93%)\nRead disk 714.9 MiB/742.0 MiB (96%)\nRead disk 724.9 MiB/742.0 MiB (97%)\nRead disk 742.0 MiB/742.0 MiB (100%)\ngpg: Signature made Mon Oct 19 19:01:03 2020 UTC\ngpg:                using RSA key 97A1AE57C3A2372CCA3A4ABA6C13026D12C944D0\ngpg: Good signature from \"Fedora (32) \u003cfedora-32-primary@fedoraproject.org\u003e\" [ultimate]\nRead disk 742.0 MiB/742.0 MiB (100%)\n/tmp/tmp.5r26NLqbuF/fedora-coreos-32.20201004.3.0-live.x86_64.iso\n```\n### Create USB stick\n\nAfter creating the iso file, write it to a USB stick. Some tutorials: [Windows](https://ubuntu.com/tutorials/create-a-usb-stick-on-windows#1-overview), [MacOS](https://ubuntu.com/tutorials/create-a-usb-stick-on-macos#1-overview), [Ubuntu](https://ubuntu.com/tutorials/create-a-usb-stick-on-ubuntu#1-overview).\n\n### Boot up the USB stick and log in with SSH\n\nAssuming _core_ is the username chosen before and _192.0.2.10_ is the IP address that Fedora CoreOS got from the DHCP server while booting up, you can log in with\n\n```\n$ ssh core@192.0.2.10\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriksjolund%2Fcreate-fcos-iso-with-ssh-key","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feriksjolund%2Fcreate-fcos-iso-with-ssh-key","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriksjolund%2Fcreate-fcos-iso-with-ssh-key/lists"}