Skip to content

Commit 46728d3

Browse files
committed
Increase the size of /boot as 512 MB seems to causing issues with newer distros
See https://access.redhat.com/solutions/7008336 for details.
1 parent 8dab9e2 commit 46728d3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/install_vm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ def handle_kickstart(data):
256256

257257
if data.uefi:
258258
content = content.replace(
259-
"part /boot --fstype=xfs --size=512",
260-
"part /boot --fstype=xfs --size=312\npart /boot/efi --fstype=efi --size=200",
259+
"part /boot --fstype=xfs --size=1152",
260+
"part /boot --fstype=xfs --size=640\npart /boot/efi --fstype=efi --size=512",
261261
).replace(
262262
"part biosboot ",
263263
"# part biosboot ",

tests/kickstarts/test_suite.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,22 @@ clearpart --linux --initlabel
6969

7070
# Create primary system partitions (required for installs)
7171
part biosboot --fstype biosboot --size=1
72-
part /boot --fstype=xfs --size=512 --fsoptions="nosuid,noexec"
72+
part /boot --fstype=xfs --size=1152 --fsoptions="nosuid,noexec"
7373
part pv.01 --grow --size=1
7474

7575
# Create a Logical Volume Management (LVM) group (optional)
7676
volgroup VolGroup --pesize=4096 pv.01
7777

7878
# Create particular logical volumes (optional)
79-
logvol / --fstype=xfs --name=LogVol06 --vgname=VolGroup --size=3192 --grow
79+
logvol / --fstype=xfs --name=LogVol06 --vgname=VolGroup --size=2936 --grow
8080
# Ensure /usr Located On Separate Partition
81-
logvol /usr --fstype=xfs --name=LogVol08 --vgname=VolGroup --size=5512 --fsoptions="nodev"
81+
logvol /usr --fstype=xfs --name=LogVol08 --vgname=VolGroup --size=5384 --fsoptions="nodev"
8282
# Ensure /opt Located On Separate Partition
8383
logvol /opt --fstype=xfs --name=LogVol09 --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid"
8484
# Ensure /srv Located On Separate Partition
8585
logvol /srv --fstype=xfs --name=LogVol10 --vgname=VolGroup --size=512 --fsoptions="nodev,nosuid"
8686
# Ensure /home Located On Separate Partition
87-
logvol /home --fstype=xfs --name=home --vgname=VolGroup --size=1024 --fsoptions="nodev"
87+
logvol /home --fstype=xfs --name=home --vgname=VolGroup --size=768 --fsoptions="nodev"
8888
# Ensure /tmp Located On Separate Partition
8989
logvol /tmp --fstype=xfs --name=tmp --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid,noexec"
9090
# Ensure /var/tmp Located On Separate Partition

0 commit comments

Comments
 (0)