I have hacked in a solution to this for my implementation using
preseeding. My kickstart file now contains the following.
# Selecting proper disk
preseed partman-auto/disk string /dev/vda
# Removing LVM partitions
preseed partman-lvm/device_remove_lvm boolean true
# Picking LVM
preseed partman-auto/method string lvm
# Confirm LVM selection
preseed partman-lvm/confirm boolean true
# Finish up
preseed partman/confirm_write_new_label boolean true
preseed partman/choose_partition select finish
preseed partman/confirm boolean true
# To get my custom layout I have to circumvent kickseed so I have added.
%pre
echo 'd-i partman-auto/expert_recipe string boot-root :: 512 1024 768 ext4
$primary{ } $bootable{ } method{ format } format{ } use_filesystem{ }
filesystem{ ext4 } mountpoint{ /boot } . 15360 18432 20480 ext4 $lvmok{ }
method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ / }
. 5120 5632 6144 ext4 $lvmok{ } method{ format } format{ } use_filesystem{ }
filesystem{ ext4 } mountpoint{ /var } . 1024 2048 4096 linux-swap $lvmok{ }
method{ swap } format{ } . 1024 2048 3072 ext4 $lvmok{ } method{ format }
format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /tmp } . 300 400 -1
ext4 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 }
mountpoint{ /disk/trump } .' >> /var/spool/kickseed/parse/preseed.cfg
--
Unable to kickstart with LVM partition scheme.
https://bugs.launchpad.net/bugs/475864
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs