Am 12.09.23 um 16:46 Uhr schrieb Fabi E:
Thanks for the help. A test run with the ContainerHost-SelfInstall iso shows that the following butane file does not go through with the error. " [ 696.4770431 dracut-pre-trigger18201: Failed to send request to update environment: No such file or directory 698.62534310 T18471 ETRFS: device label ROOT devid 1 transid 97 deursda3 scanned by ludey-worker) (1847) "
At least at first glance these messages don't seem to be related. Are there any other messages, or let me turn the question around: How do you realize that applying the configuration was not successful? Do you end up in a dracut emergency shell? If so, then you can look for Ignition specific log output with `journalctl`. You should find the exact error there.
Any help is appreciated. Your config below however won't work with the /home subvolume because it's missing the device (which would be "/dev/disk/by-label/ROOT" in your case - with capital letters for ROOT). You may want to rename the "root" partition you are creating yourself (with lower letters) to something different to avoid confusion ;-)
Kind Regards, Ignaz
butane (also configuring home next to the other device throws an error in the butane to ignition file step):
variant: fcos version: 1.5.0 passwd: users: - name: core groups: - "sudo" - "docker" # ssh_authorized_keys_local: # - id_ed25519_fcos_user_core.pub password_hash: $y$j9T$vrCC7VE5KE2iDPgrhkHVf.$ixL1H2IU3V5pE6u6C3oOQLaTm1MH7RNETrm/N7mGX0A storage: disks: - device: /dev/vda partitions: - label: root number: 4 # 0 means to use all available space size_mib: 0 resize: true luks: - name: root label: luks-root device: /dev/disk/by-partlabel/root key_file: local: luks.key wipe_volume: true discard: true options: - --pbkdf=argon2id open_options: - --perf-no_read_workqueue - --perf-no_write_workqueue filesystems: - device: /dev/mapper/root format: btrfs wipe_filesystem: true label: root # - path: /home # format: btrfs # wipe_filesystem: false # mount_options: # - "subvol=/@/home" -- Ignaz Forster <iforster@suse.com> Research Engineer SUSE Software Solutions Germany GmbH Frankenstr. 146 90461 Nürnberg Germany
Geschäftsführer: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)