Multiple partitions in Debian preseed

Problem:
Partition Template - Export from exisitng server?
Expected outcome:

Foreman and Proxy versions:
Foreman:
OS: debian
RELEASE: stretch/sid
FOREMAN: 1.17.1
RUBY: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

Foreman-Proxy(DHCP)
OS: debian
RELEASE: stretch/sid
FOREMAN:
RUBY: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

Foreman and Proxy plugin versions:

Other relevant data:
I basically want to find out if there is a way to create a partition template from a server that is already built, OR if there is a flat partition table template that installs on an nvm* drive

Hello, if you installed Red Hat compatible system, find the partition bits in /root/anaconda-ks.ks if I remember correctly. Can’t miss it, it is the only non-hidden file in the root home.

Ubuntu 14.04 LTS w/ Xeniel kernel , that file def. does not exist

ok i have 2 NVME drives in the server. /dev/nvme0 and nvme1

I only want to use 0 for now to test these

# Skip question about not having swap partition
d-i partman-basicfilesystems/no_swap boolean false

<% if @host.params['install-disk'] -%>
d-i partman-auto/disk string <%= @host.params['install-disk'] %>
<% else -%>
d-i partman-auto/disk string /dev/nvme0 /dev/nvme0n1 
<% end -%>

d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select root

d-i partman-auto/expert_recipe string root :: 19000 50 20000 ext4 \
        $primary{ } $bootable{ } method{ format } \
        format{ } use_filesystem{ } filesystem{ ext4 } \
        mountpoint{ / } \
    . \
    100 100 10000000000 ext4 \
        $primary{ } method{ format } format{ } \
        use_filesystem{ } filesystem{ ext4 } \
        mountpoint{ /opt } \
    .

##### This makes partman automatically partition without confirmation, provided
##### that you told it what to do using one of the methods above.
d-i partman-md/confirm boolean true
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

Would that work? I just want to use the entire disk for / no swap. I tried adding the above and still prompts me to use entire disk, then choose disk etc.

I am not familiar with Debian/Ubuntu preseed, however I’ve changed the title to “Multiple partitions in Debian preseed”. I hope someone with experience stops by to tell.

Thanks!
trying it with this now instead, just 1 partition

d-i partman-basicfilesystems/no_swap boolean false
d-i partman-auto/expert_recipe string myroot :: 1000 50 -1 ext4 \
     $primary{ } $bootable{ } method{ format } \
     format{ } use_filesystem{ } filesystem{ ext4 } \
     mountpoint{ / } \
    .
d-i partman-auto/choose_recipe select myroot

That was not successful either, keeps prompting to choose disk guided disk, which drive and to confirm

Maybe this will help more. i am also using uefi boot if that makes a diff?

lsblk -lbn of a system i used foreman BUT manually added drive which i am ok with this drive setup

lsblk -lbn
nvme0n1 259:0 0 2000398934016 0 disk
nvme0n1p1 259:1 0 536870912 0 part /boot/efi
nvme0n1p2 259:2 0 1931500060672 0 part /
nvme0n1p3 259:3 0 68360863744 0 part [SWAP]
nvme1n1 259:4 0 2000398934016 0 disk <-- NOT GOING TO USE YET

how can i extract the above to add it to the preseed for automated drive partitioning?