Hey, thanks for the reply. This is working, tho you really have to put it into the brackets!
I tried to go with a custom config for partitioning now. This is working for EFI based systems, but how about legacy? Is it somehow possible to have both in the same config with smart decisions or so? I need to compare this to d-i where I had one config for all systems.
current config
storage:
grub:
reorder_uefi: False
swap:
size: 0
config:
- {ptable: gpt, wipe: superblock, preserve: false, name: '', grub_device: false,
type: disk, id: disk0}
- {device: disk0, size: 536870912, wipe: superblock, flag: boot, number: 1,
preserve: false, grub_device: true, type: partition, id: partition-0}
- {fstype: fat32, volume: partition-0, preserve: false, type: format, id: format-0}
- {device: disk0, size: 1073741824, wipe: superblock, flag: '', number: 2,
preserve: false, grub_device: false, type: partition, id: partition-1}
- {fstype: ext4, volume: partition-1, preserve: false, type: format, id: format-1}
- {device: disk0, size: -1, wipe: superblock, flag: linux, number: 3,
preserve: false, grub_device: false, type: partition, id: partition-2}
- {volume: partition-2, key: 'secretkey', preserve: false, type: dm_crypt,
id: dm_crypt-0}
- name: ubuntu-vg
devices: [dm_crypt-0]
preserve: false
type: lvm_volgroup
id: lvm_volgroup-0
- {name: ubuntu-lv, volgroup: lvm_volgroup-0, size: 100%, wipe: superblock,
preserve: false, type: lvm_partition, id: lvm-partition-0}
- {fstype: ext4, volume: lvm-partition-0, preserve: false, type: format, id: format-2}
- {path: /, device: format-2, type: mount, id: mount-2}
- {path: /boot, device: format-1, type: mount, id: mount-1}
- {path: /boot/efi, device: format-0, type: mount, id: mount-0}
Further problems:
- keymap doesn’t match keyboard layout in config → Cannot enter proper encryption password
-
keyboard: {layout: de, toggle: null, variant: ''} locale: de_DE.UTF-8
-
This also happens during manual server installations. At least it was the case for me. I chose English but with German keyboard, configured encrypted LVM and couldn’t decrypt after the install finished.
Interactive Sections:
- I am used to being able to get a dialogue for the hostname only. This doesn’t work anymore since it is baked into a bigger interactive section. I would like to call a dialogue for one specific field only. This should be a thing in my opinion