I recently had to install a debian encrypted host on a scaleway server. I remember reading about unattended installs using qemu-kvm, but none did fit my setup. Based on this amazing article from Quentin JOLY, I found a suitable and quite elegant way to do things.
This setup was tested on a scaleway store-4-M and an OVH VPS-2. As this only requires some space and a qemu capable rescue mode, it should work with most bare metal cloud providers.
After using proxmox for years, incus is my new goto as hypervisor. As I like the lazyness of a self updating os, here is a way to work with Fedora CoreOS with incus.
For those who don’t know, incus is a modern and secure system container and virtual machine manager. Fedora CoreOS (fcos) is an auto-updating, minimal-operating-system designed specifically for running containerized workloads with streamlined management via Ignition.
Building the image There is no fcos image build for incus, thus we have to build it ourselves: