@@ -87,28 +87,29 @@ zerombr
8787# --linux erase all Linux partitions
8888# --initlabel initialize the disk label to the default based on the underlying architecture
8989clearpart --linux --initlabel
90+ reqpart
9091
9192# Create primary system partitions (required for installs)
92- part /boot --fstype =xfs --size =512
93+ part /boot --fstype =xfs --size =2048
9394part pv.01 --grow --size =1
9495
9596# Create a Logical Volume Management (LVM) group (optional)
9697volgroup VolGroup pv.01
9798
9899# Create particular logical volumes (optional)
99- logvol / --fstype =xfs --name =root --vgname =VolGroup --size =10240 --grow
100+ logvol / --fstype =xfs --name =root --vgname =VolGroup --size =5120 --grow
100101# Ensure /home Located On Separate Partition
101- logvol /home --fstype =xfs --name =home --vgname =VolGroup --size =1024 --fsoptions =" nodev"
102+ logvol /home --fstype =xfs --name =home --vgname =VolGroup --size =1024 --fsoptions =" nodev,nosuid "
102103# Ensure /tmp Located On Separate Partition
103104logvol /tmp --fstype =xfs --name =tmp --vgname =VolGroup --size =1024 --fsoptions =" nodev,noexec,nosuid"
104105# Ensure /var/tmp Located On Separate Partition
105106logvol /var/tmp --fstype =xfs --name =vartmp --vgname =VolGroup --size =1024 --fsoptions =" nodev,nosuid,noexec"
106107# Ensure /var Located On Separate Partition
107- logvol /var --fstype =xfs --name =var --vgname =VolGroup --size =3072
108+ logvol /var --fstype =xfs --name =var --vgname =VolGroup --size =3072 -- fsoptions = " nodev,nosuid "
108109# Ensure /var/log Located On Separate Partition
109- logvol /var/log --fstype =xfs --name =varlog --vgname =VolGroup --size =1024
110+ logvol /var/log --fstype =xfs --name =varlog --vgname =VolGroup --size =1024 -- fsoptions = " nodev,nosuid,noexec "
110111# Ensure /var/log/audit Located On Separate Partition
111- logvol /var/log/audit --fstype =xfs --name =varlogaudit --vgname =VolGroup --size =512
112+ logvol /var/log/audit --fstype =xfs --name =varlogaudit --vgname =VolGroup --size =512 -- fsoptions = " nodev,nosuid,noexec "
112113logvol swap --name =swap --vgname =VolGroup --size =2016
113114
114115
0 commit comments