remove swap from lvm
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-04-11 22:08:39 +02:00
parent 4c4a92b9c6
commit 14b99ee6d5
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -59,17 +59,16 @@ clearpart --all --initlabel
### Modify partition sizes for the virtual machine hardware.
### Create primary system partitions.
part /boot --fstype xfs --size=1024 --label=BOOTFS
part /boot --fstype xfs --size=2048 --label=BOOTFS
part /boot/efi --fstype vfat --size=512 --label=EFIFS
part pv.01 --size=18 --grow
part pv.01 --size=17 --grow
### Create a logical volume management (LVM) group.
volgroup vg00 --pesize=4096 pv.01
### Modify logical volume sizes for the virtual machine hardware.
### Create logical volumes.
logvol swap --fstype swap --name=lv_swap --vgname=vg00 --size=2048 --label=SWAPFS
logvol / --fstype xfs --name=lv_root --vgname=vg00 --size=8192 --label=ROOTFS
logvol / --fstype xfs --name=lv_root --vgname=vg00 --size=10240 --label=ROOTFS
logvol /home --fstype xfs --name=lv_home --vgname=vg00 --size=2048 --label=HOMEFS
logvol /tmp --fstype xfs --name=lv_tmp --vgname=vg00 --size=512 --label=TMPFS --fsoptions="nosuid,noexec,nodev"
logvol /var --fstype xfs --name=lv_var --vgname=vg00 --size=2048 --label=VARFS --fsoptions="nosuid"