Skip to content

Instantly share code, notes, and snippets.

@ergolyam
Created July 1, 2026 02:27
Show Gist options
  • Select an option

  • Save ergolyam/ebcd7236876efea94d1b7a286188a911 to your computer and use it in GitHub Desktop.

Select an option

Save ergolyam/ebcd7236876efea94d1b7a286188a911 to your computer and use it in GitHub Desktop.
Fedora core os install guide
# vim: filetype=yaml
variant: fcos
version: 1.6.0
storage:
files:
- path: /etc/hostname
mode: 0644
contents:
inline: ${HOSTNAME}
passwd:
users:
- name: user
groups:
- wheel
password_hash: ${PASSWD}
ssh_authorized_keys:
- ${PUBKEY}

fedora-coreos

  • Install livecd image:

    coreos-installer download \
        -s stable \
        -p metal \
        -f iso
  • Creation and configuration of a settings file:

    HOSTNAME="your-hostname" \
    PASSWD=$(mkpasswd --method=yescrypt) \
    PUBKEY=$(cat /path/to/your-key.pub)
        envsubst < config.bu | butane --pretty --strict > config.ign
  • Embedding a configuration file into a livecd image:

    coreos-installer iso customize \
        --dest-device /dev/drive \
        --dest-ignition config.ign \
        --dest-console ttyS0,115200n8 \
        --dest-console tty0 \
        -o custom-fedora-coreos.iso fedora-coreos-*.iso
    • Instead of /dev/drive, insert your path to the drive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment