80 lines
5.4 KiB
Diff
80 lines
5.4 KiB
Diff
From ea49c71011c1815b2889c5a004c79c99faff4a1c Mon Sep 17 00:00:00 2001
|
|
From: Watson Sato <wsato@redhat.com>
|
|
Date: Wed, 23 Feb 2022 18:23:22 +0100
|
|
Subject: [PATCH] Adjsut partitions sizes to acomodate a GUI install
|
|
|
|
The GUI requires more room in the /usr partition.
|
|
Let's reduce /otp, /srv and /home, which should not have any data.
|
|
---
|
|
.../rhel8/kickstart/ssg-rhel8-anssi_bp28_enhanced-ks.cfg | 8 ++++----
|
|
products/rhel8/kickstart/ssg-rhel8-anssi_bp28_high-ks.cfg | 8 ++++----
|
|
.../kickstart/ssg-rhel8-anssi_bp28_intermediary-ks.cfg | 8 ++++----
|
|
3 files changed, 12 insertions(+), 12 deletions(-)
|
|
|
|
diff --git a/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_enhanced-ks.cfg b/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_enhanced-ks.cfg
|
|
index 9c02e5c2ac1..cc18e8cd16f 100644
|
|
--- a/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_enhanced-ks.cfg
|
|
+++ b/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_enhanced-ks.cfg
|
|
@@ -100,13 +100,13 @@ volgroup VolGroup --pesize=4096 pv.01
|
|
# Create particular logical volumes (optional)
|
|
logvol / --fstype=xfs --name=LogVol06 --vgname=VolGroup --size=3192 --grow
|
|
# Ensure /usr Located On Separate Partition
|
|
-logvol /usr --fstype=xfs --name=LogVol08 --vgname=VolGroup --size=5000 --fsoptions="nodev"
|
|
+logvol /usr --fstype=xfs --name=LogVol08 --vgname=VolGroup --size=6536 --fsoptions="nodev"
|
|
# Ensure /opt Located On Separate Partition
|
|
-logvol /opt --fstype=xfs --name=LogVol09 --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid"
|
|
+logvol /opt --fstype=xfs --name=LogVol09 --vgname=VolGroup --size=512 --fsoptions="nodev,nosuid"
|
|
# Ensure /srv Located On Separate Partition
|
|
-logvol /srv --fstype=xfs --name=LogVol10 --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid"
|
|
+logvol /srv --fstype=xfs --name=LogVol10 --vgname=VolGroup --size=512 --fsoptions="nodev,nosuid"
|
|
# Ensure /home Located On Separate Partition
|
|
-logvol /home --fstype=xfs --name=home --vgname=VolGroup --size=1024 --fsoptions="nodev"
|
|
+logvol /home --fstype=xfs --name=home --vgname=VolGroup --size=512 --fsoptions="nodev"
|
|
# Ensure /tmp Located On Separate Partition
|
|
logvol /tmp --fstype=xfs --name=tmp --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid,noexec"
|
|
# Ensure /var/tmp Located On Separate Partition
|
|
diff --git a/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_high-ks.cfg b/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_high-ks.cfg
|
|
index 68729408698..3e99b4d0f99 100644
|
|
--- a/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_high-ks.cfg
|
|
+++ b/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_high-ks.cfg
|
|
@@ -104,13 +104,13 @@ volgroup VolGroup --pesize=4096 pv.01
|
|
# Create particular logical volumes (optional)
|
|
logvol / --fstype=xfs --name=LogVol06 --vgname=VolGroup --size=3192 --grow
|
|
# Ensure /usr Located On Separate Partition
|
|
-logvol /usr --fstype=xfs --name=LogVol08 --vgname=VolGroup --size=5000 --fsoptions="nodev"
|
|
+logvol /usr --fstype=xfs --name=LogVol08 --vgname=VolGroup --size=6536 --fsoptions="nodev"
|
|
# Ensure /opt Located On Separate Partition
|
|
-logvol /opt --fstype=xfs --name=LogVol09 --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid"
|
|
+logvol /opt --fstype=xfs --name=LogVol09 --vgname=VolGroup --size=512 --fsoptions="nodev,nosuid"
|
|
# Ensure /srv Located On Separate Partition
|
|
-logvol /srv --fstype=xfs --name=LogVol10 --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid"
|
|
+logvol /srv --fstype=xfs --name=LogVol10 --vgname=VolGroup --size=512 --fsoptions="nodev,nosuid"
|
|
# Ensure /home Located On Separate Partition
|
|
-logvol /home --fstype=xfs --name=home --vgname=VolGroup --size=1024 --fsoptions="nodev"
|
|
+logvol /home --fstype=xfs --name=home --vgname=VolGroup --size=512 --fsoptions="nodev"
|
|
# Ensure /tmp Located On Separate Partition
|
|
logvol /tmp --fstype=xfs --name=tmp --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid,noexec"
|
|
# Ensure /var/tmp Located On Separate Partition
|
|
diff --git a/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_intermediary-ks.cfg b/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_intermediary-ks.cfg
|
|
index 1f703d127e5..31d10a7e97e 100644
|
|
--- a/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_intermediary-ks.cfg
|
|
+++ b/products/rhel8/kickstart/ssg-rhel8-anssi_bp28_intermediary-ks.cfg
|
|
@@ -100,13 +100,13 @@ volgroup VolGroup --pesize=4096 pv.01
|
|
# Create particular logical volumes (optional)
|
|
logvol / --fstype=xfs --name=LogVol06 --vgname=VolGroup --size=3192 --grow
|
|
# Ensure /usr Located On Separate Partition
|
|
-logvol /usr --fstype=xfs --name=LogVol08 --vgname=VolGroup --size=5000 --fsoptions="nodev"
|
|
+logvol /usr --fstype=xfs --name=LogVol08 --vgname=VolGroup --size=6536 --fsoptions="nodev"
|
|
# Ensure /opt Located On Separate Partition
|
|
-logvol /opt --fstype=xfs --name=LogVol09 --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid"
|
|
+logvol /opt --fstype=xfs --name=LogVol09 --vgname=VolGroup --size=512 --fsoptions="nodev,nosuid"
|
|
# Ensure /srv Located On Separate Partition
|
|
-logvol /srv --fstype=xfs --name=LogVol10 --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid"
|
|
+logvol /srv --fstype=xfs --name=LogVol10 --vgname=VolGroup --size=512 --fsoptions="nodev,nosuid"
|
|
# Ensure /home Located On Separate Partition
|
|
-logvol /home --fstype=xfs --name=home --vgname=VolGroup --size=1024 --fsoptions="nodev"
|
|
+logvol /home --fstype=xfs --name=home --vgname=VolGroup --size=512 --fsoptions="nodev"
|
|
# Ensure /tmp Located On Separate Partition
|
|
logvol /tmp --fstype=xfs --name=tmp --vgname=VolGroup --size=1024 --fsoptions="nodev,nosuid,noexec"
|
|
# Ensure /var/tmp Located On Separate Partition
|