Hello, I have encountered problem trying to install coreos from ignition file, with encrypted root and btrfs filesystem.
Here is butane storage config part:
I found some other discussion and something looking like solution: Root LUKS in ignition - #2 by jlebon
but with this config it just fails more miserably:
storage:
disks:
- device: /dev/vda
partitions:
- label: root
number: 4
# 0 means to use all available space
size_mib: 0
resize: true
filesystems:
- device: /dev/mapper/root
path: /
format: btrfs
wipe_filesystem: true
label: root
luks:
- name: root
label: root
device: /dev/disk/by-partlabel/root
discard: true
key_file:
inline: test-pass-to-be-changed
wipe_volume: true
Note that using keyfiles for the rootfs is not usually recommended. It means that you would have to type in a password on every boot, which is not compatible with automatic updates.