I want to create a preseed file that will automatically choose the disc (/dev/nvme0n1 or /dev/sda1) and create the partitions without approval.
So far, it is detected the disk, but I need to select "YES," and after that, I need to select "YES" for the partition (attached images).
# -------- Partitioning --------
d-i partman/unmount_active boolean true
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-auto/method string crypto
d-i partman-crypto/passphrase password Trax2020
d-i partman-crypto/passphrase-again password Trax2020
d-i partman-auto-lvm/guided_size string max
grub boot loader
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
Images:
(the images are more than 2M, so I can't upload it to here)