/lib/partman/choose_method/52lvm/do_option is in ubiquity 18.04.14.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
dev=$2
id=$3
cd $dev
mkdir -p $dev/$id
echo lvm >$dev/$id/method
rm -f $dev/$id/use_filesystem
rm -f $dev/$id/format
|