Tested this patch with netinstall by legacy installer(aka debian-installer). Works well! Just added into preseed:
d-i preseed/early_command string \ wget -q http://myhost.com/files/packages/partman-crypto_101ubuntu4+luksopts1_amd64.udeb ; \ udpkg -i partman-crypto_101ubuntu4\+luksopts1_amd64.udeb d-i partman-crypto/luksformat_options string --type luks1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1898129 Title: Cannot configure 'cryptsetup luksFormat' at install time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1898129/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs