change up partitioning for vagrant

This commit is contained in:
Neil Hanlon 2022-11-23 18:18:28 -05:00
parent 6896ef9dd4
commit 978b1770bb
Signed by untrusted user: neil
GPG Key ID: 705BC21EC3C70F34
3 changed files with 33 additions and 18 deletions

View File

@ -25,13 +25,18 @@ skipx
services --enabled="vmtoolsd" services --enabled="vmtoolsd"
# System bootloader configuration # System bootloader configuration
bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1 bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1
reqpart
# Clear the Master Boot Record # Partition stuff
zerombr zerombr
# Partition clearing information clearpart --all --initlabel --disklabel=gpt
clearpart --all --initlabel #reqpart
# Disk partitioning information # This should allow BIOS, UEFI, and PReP booting. Trying to be as universal as
part / --asprimary --fstype="xfs" --grow --size=1024 # possible. This is a similar setup to Fedora without the btrfs.
part prepboot --size=4 --fstype=prepboot --asprimary
part biosboot --size=1 --fstype=biosboot --asprimary
part /boot/efi --size=100 --fstype=efi --asprimary
part /boot --size=1000 --fstype=xfs --asprimary --label=boot
part / --size=8000 --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0"
%post %post
# configure swap to a file # configure swap to a file

View File

@ -25,13 +25,18 @@ skipx
services --enabled="vmtoolsd" services --enabled="vmtoolsd"
# System bootloader configuration # System bootloader configuration
bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1 bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1
reqpart
# Clear the Master Boot Record # Partition stuff
zerombr zerombr
# Partition clearing information clearpart --all --initlabel --disklabel=gpt
clearpart --all --initlabel #reqpart
# Disk partitioning information # This should allow BIOS, UEFI, and PReP booting. Trying to be as universal as
part / --asprimary --fstype="xfs" --grow --size=1024 # possible. This is a similar setup to Fedora without the btrfs.
part prepboot --size=4 --fstype=prepboot --asprimary
part biosboot --size=1 --fstype=biosboot --asprimary
part /boot/efi --size=100 --fstype=efi --asprimary
part /boot --size=1000 --fstype=xfs --asprimary --label=boot
part / --size=8000 --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0"
%post %post
# configure swap to a file # configure swap to a file

View File

@ -25,13 +25,18 @@ skipx
services --enabled="vmtoolsd" services --enabled="vmtoolsd"
# System bootloader configuration # System bootloader configuration
bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1 bootloader --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop" --location=mbr --timeout=1
reqpart
# Clear the Master Boot Record # Partition stuff
zerombr zerombr
# Partition clearing information clearpart --all --initlabel --disklabel=gpt
clearpart --all --initlabel #reqpart
# Disk partitioning information # This should allow BIOS, UEFI, and PReP booting. Trying to be as universal as
part / --asprimary --fstype="xfs" --grow --size=1024 # possible. This is a similar setup to Fedora without the btrfs.
part prepboot --size=4 --fstype=prepboot --asprimary
part biosboot --size=1 --fstype=biosboot --asprimary
part /boot/efi --size=100 --fstype=efi --asprimary
part /boot --size=1000 --fstype=xfs --asprimary --label=boot
part / --size=8000 --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0"
%post %post
# configure swap to a file # configure swap to a file