Skip to content

Commit

Permalink
Fix manual partition table to use LVM
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Uiterwijk <[email protected]>
  • Loading branch information
puiterwijk committed Feb 21, 2020
1 parent c9be52a commit 78cd621
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zezere/templates/netboot/kickstart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78cd621

Please sign in to comment.