Skip to content

Instantly share code, notes, and snippets.

@pierre-emmanuelJ
Last active June 30, 2023 08:01
Show Gist options
  • Save pierre-emmanuelJ/c546777ce5e9e70ecf2ac951e5628e7d to your computer and use it in GitHub Desktop.
Save pierre-emmanuelJ/c546777ce5e9e70ecf2ac951e5628e7d to your computer and use it in GitHub Desktop.
RedHat CoreOS (RHCOS) on Exoscale

RHCOS on Exoscale

Prerequisites

Modify the RHCOS qcow

gunzip rhcos-4.6.8-x86_64-qemu.x86_64.qcow2.gz
sudo guestfish --rw -a rhcos-4.6.8-x86_64-qemu.x86_64.qcow2

Inside the guestfish shell

><fs> run
><fs> list-filesystems
/dev/sda1: ext4
/dev/sda2: vfat
/dev/sda3: unknown
><fs> mount /dev/sda1 /
><fs> edit /loader/entries/ostree-1-rhcos.conf

A default text editor is opened, inside this file replace ignition.platform.id=qemu by ignition.platform.id=exoscale

><fs> exit

Finally, you can use this Qcow2 as a Custom Template on Exoscale infrastructure.

Enjoy 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment