Run Fedora CoreOS or Flatcar on a VPS With iPXE (CoreOS Successors)
CoreOS Container Linux reached end of life in 2020. Boot Fedora CoreOS or Flatcar on a VPS with iPXE and Ignition instead, and install it to disk.
CoreOS Container Linux, the minimal container host with the core user and automatic updates, reached end of life on 26 May 2020. Its images receive no updates and must not be used for new servers. Two maintained systems continue the design: Fedora CoreOS, the official successor, and Flatcar Container Linux, a fork that stays close to the original. This guide boots either of them on a VPS through iPXE, provisions it with an Ignition config and installs it to disk. It works with any provider that lets you boot a custom iPXE script.
What changed since CoreOS Container Linux
- Provisioning:
cloud-configfiles and thesshkey=kernel option of old iPXE scripts are replaced by Ignition. You write a short YAML file (a Butane config), convert it to Ignition JSON and publish it at a URL the server can fetch on first boot. - Download locations: the
release.core-os.netchannels are gone. Fedora CoreOS publishesstable,testingandnextstreams; Flatcar publishes Stable, Beta and Alpha channels. - Tooling: etcd and fleet are no longer part of the image. Both systems ship a container runtime and update themselves automatically.
Requirements
- A VPS whose control panel offers iPXE boot with a custom script URL (often called "iPXE chain URL" or "custom iPXE script").
- Memory: Fedora CoreOS needs at least 2 GiB of RAM for a network boot that fetches the root filesystem by URL; Flatcar needs at least 3 GB to boot over PXE. Flatcar also needs a disk of 8 GB or more.
- An SSH key pair on your computer.
- A web server where you can publish two small files, here
https://example.com/config.ignandhttp://example.com/script.txt. - Podman or Docker on your computer to run Butane.
Step 1: Write the Butane config
Neither system has a default password; the SSH key in this file is the only way in. For Fedora CoreOS, save this as config.bu with your own public key:
variant: fcos
version: 1.7.0
passwd:
users:
- name: core
ssh_authorized_keys:
- ssh-ed25519 AAAA... you@example.com
For Flatcar, change the first two lines to:
variant: flatcar
version: 1.0.0
Step 2: Convert it to Ignition and publish it
Run Butane from its container image:
podman run --interactive --rm quay.io/coreos/butane:release \
--pretty --strict < config.bu > config.ign
With Docker, replace podman with docker. Upload config.ign to your web server. It contains only a public key here, but configs with secrets should be served over HTTPS and removed after provisioning.
Step 3: Write the iPXE script
Fedora CoreOS
This script boots the live image and has the installer write Fedora CoreOS to disk with your Ignition config. Look up the current release number in the stable stream metadata at https://builds.coreos.fedoraproject.org/streams/stable.json and set VERSION accordingly; 44.20261023.3.1 was current in November 2026.
#!ipxe
set STREAM stable
set VERSION 44.20261023.3.1
set INSTALLDEV /dev/vda
set CONFIGURL https://example.com/config.ign
set BASEURL https://builds.coreos.fedoraproject.org/prod/streams/${STREAM}/builds/${VERSION}/x86_64
kernel ${BASEURL}/fedora-coreos-${VERSION}-live-kernel.x86_64 initrd=main coreos.live.rootfs_url=${BASEURL}/fedora-coreos-${VERSION}-live-rootfs.x86_64.img coreos.inst.install_dev=${INSTALLDEV} coreos.inst.ignition_url=${CONFIGURL}
initrd --name main ${BASEURL}/fedora-coreos-${VERSION}-live-initramfs.x86_64.img
boot
KVM servers with virtio disks normally expose the disk as /dev/vda; others use /dev/sda. To run from RAM without installing, replace the two coreos.inst arguments with ignition.firstboot ignition.platform.id=metal ignition.config.url=${CONFIGURL}.
Flatcar Container Linux
Flatcar's script looks much like the old CoreOS one. It boots into RAM and applies the Ignition config:
#!ipxe
set base-url http://stable.release.flatcar-linux.net/amd64-usr/current
kernel ${base-url}/flatcar_production_pxe.vmlinuz initrd=flatcar_production_pxe_image.cpio.gz flatcar.first_boot=1 ignition.config.url=https://example.com/config.ign
initrd ${base-url}/flatcar_production_pxe_image.cpio.gz
boot
Use beta.release.flatcar-linux.net or alpha.release.flatcar-linux.net for the other channels.
Publish the script as plain text. Some providers' iPXE builds cannot download over HTTPS; if the boot stops at the first download, serve the script over plain HTTP and, for Fedora CoreOS, mirror the three artifacts on your own HTTP server and point BASEURL there.
Step 4: Boot the server
Create the server in your hosting control panel, choose the iPXE or custom-script boot option instead of an operating system, and enter the URL of your script. Watch the first boot in your provider's web console.
- Fedora CoreOS: the installer writes the image to the disk and reboots.
- Flatcar: the system comes up in RAM. Log in and install to disk with the bundled script, which installs the channel and version that was booted:
ssh core@203.0.113.10
lsblk
curl -O https://example.com/config.ign
sudo flatcar-install -d /dev/vda -i config.ign
Then switch the server's boot setting back to its disk (remove the iPXE script in the control panel) before the next reboot. If the server keeps chain-loading the script, Fedora CoreOS reinstalls and wipes the disk on every boot, and Flatcar keeps starting from RAM.
Step 5: Log in and verify
ssh core@203.0.113.10
cat /etc/os-release
lsblk
The root filesystem should now be on the disk rather than in memory. The core user has passwordless sudo. Any further configuration (extra users, systemd units, files) belongs in the Butane config; rebuild the Ignition file and reinstall rather than editing servers by hand.
Updates
Both systems download new releases and reboot into them on their own. Plan for these reboots: run more than one node for anything that must stay available, or configure an update window as described in each project's documentation.
Frequently asked questions
Which of the two should I choose?
Flatcar is the closest match if you have existing CoreOS Container Linux habits or tooling: same core user, same channel model, a very similar iPXE script. Fedora CoreOS is built from Fedora packages and installs in a single unattended step from iPXE.
Do my old cloud-config files still work?
Not on Fedora CoreOS: they have to be rewritten as Butane configs, and the Fedora CoreOS documentation has a migration page that lists the differences. Flatcar's installer still accepts a cloud-config with -c, but Ignition is the documented way to provision it.
My provider has no iPXE option. What then?
Both projects publish live ISO images. Attach the ISO as a virtual CD, boot it, and run sudo coreos-installer install /dev/vda --ignition-url https://example.com/config.ign on Fedora CoreOS or flatcar-install on Flatcar. Many providers also offer one or both systems as ready-made images that take an Ignition config as user data.
The server has no DHCP. Can I still boot it?
Yes, but the address must be passed on the kernel line of the iPXE script with the ip= argument, and the installed system needs the same static settings in its Ignition config. Check the networking pages of the Fedora CoreOS or Flatcar documentation for the exact syntax.