Maas debian storage confuguration

Hi. I m using ubuntu 24.4 with mass 3.5 from snap. I created custom image using packer mass for debian 12. Commisioning, deploy, even disc cleaning is working fine. My next step is to implement preseed.cfg containing storage configuration:
d-i partman-auto/expert_recipe string
boot-crypto ::
512 512 512 fat32
$primary{ } $bootable{ }
method{ format } format{ }
use_filesystem{ } filesystem{ fat32 }
mountpoint{ /boot/efi }
.
976 976 976 ext2
$primary{ }
$defaultignore{ }
method{ format } format{ }
use_filesystem{ } filesystem{ ext2 }
mountpoint{ /boot }
.
470000 471700 471700 ext4
$lvmok{ } lv_name{ root }
in_vg { DebianVG }
$primary{ }
method{ format } format{ }
use_filesystem{ } filesystem{ ext4 }
mountpoint{ / }
.
3700MB 3700MB 3700MB linux-swap
$lvmok{ } lv_name{ swap }
in_vg { DebianVG }
$primary{ }
method{ swap } format{ }
.
I have tried custom configuration like its written here:
https://maas.io/docs/how-to-create-custom-storage
Commisioning state is good but deploy fails using examples in this article.
Can someone explain how to change partitions from default - for debian 12