1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-29 02:13:09 +00:00

Replaced part biosboot and part /boot by reqpart --add-boot to cover different requirements by differen archs

This commit is contained in:
Peter Boy 2022-09-08 14:18:19 +02:00
parent 9d425b726b
commit 6777f93407

View File

@ -1,4 +1,4 @@
# fedora-server-vm-full.ks (rel. 1.0) # fedora-server-vm-full.ks (rel. 1.01)
# Kickstart file to build a Fedora Server Edition VM disk image. # Kickstart file to build a Fedora Server Edition VM disk image.
# The image aims to resemble as close as technically possible the # The image aims to resemble as close as technically possible the
# full features of a Fedora Server Edition in a virtual machine. # full features of a Fedora Server Edition in a virtual machine.
@ -12,6 +12,9 @@
# To build the image locally, you need to install ImageFactory and # To build the image locally, you need to install ImageFactory and
# various additional helpers and configuration files. # various additional helpers and configuration files.
# See Fedora Server Edition user documentation tutorial. # See Fedora Server Edition user documentation tutorial.
# Changelog
# 1.01 modified partitioning to "reqpart --add-boot" to cover architecture
# specific differences
# Use text mode install # Use text mode install
@ -55,8 +58,9 @@ firstboot --reconfig
# Partition Information. Use GPT by default (since Fedora 37) # Partition Information. Use GPT by default (since Fedora 37)
# Resemble the Partitioning used for Fedora Server Install media # Resemble the Partitioning used for Fedora Server Install media
clearpart --all --initlabel --disklabel=gpt clearpart --all --initlabel --disklabel=gpt
part biosboot --size=1 --fstype=biosboot ##part biosboot --size=1 --fstype=biosboot
part /boot --size=1000 --fstype=xfs --label=boot ##part /boot --size=1000 --fstype=xfs --label=boot
reqpart --add-boot
part pv.007 --size=4000 --grow part pv.007 --size=4000 --grow
volgroup sysvg pv.007 volgroup sysvg pv.007
logvol / --vgname=sysvg --size=4000 --grow --maxsize=16000 --fstype=xfs --name=root --label=sysroot logvol / --vgname=sysvg --size=4000 --grow --maxsize=16000 --fstype=xfs --name=root --label=sysroot