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