From 78cd6213d55b773cdc19276ed966b2939353e320 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 21 Feb 2020 17:25:12 +0100 Subject: [PATCH] Fix manual partition table to use LVM Signed-off-by: Patrick Uiterwijk --- zezere/templates/netboot/kickstart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zezere/templates/netboot/kickstart b/zezere/templates/netboot/kickstart index cc86707..84b99fb 100644 --- a/zezere/templates/netboot/kickstart +++ b/zezere/templates/netboot/kickstart @@ -14,7 +14,11 @@ ostreesetup --nogpg --osname={{ device.run_request.settings.ostree.osname }} --r {% if device.run_request.settings.clear_parts %} clearpart --all --initlabel zerombr -autopart --nohome --encrypted --fstype=xfs --passphrase=provision123 +reqpart +part --fstype=ext4 --label=boot --size=1024 /boot +part pv.01 --size=1024 --grow --encrypted --luks-version=luks2 --passphrase=provision123 +volgroup iotvg pv.01 +logvol / --vgname=iotvg --fstype=ext4 --label=root --name=root --percent 100 {% endif %} reboot