Skip to content

Commit

Permalink
docs: Use reqpart in example.ks
Browse files Browse the repository at this point in the history
The partitioning defined in the example kickstart file suggests that the
installer supports hybrid boot. That's misleading and not true. Let's use
the `reqpart` kickstart command to automatically create partitions required
by the detected platform instead of creating all of them for all platforms.

Note: The `reqpart` command doesn't work with `bootloader --location=none` or
`bootloader --disabled`, so this commit depends on the installer's support
for bootupd: rhinstaller/anaconda#5298
  • Loading branch information
poncovka committed Nov 27, 2023
1 parent 1ea58d5 commit 05a824b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/example.ks
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ text

# Basic partitioning
clearpart --all --initlabel --disklabel=gpt
part prepboot --size=4 --fstype=prepboot
part biosboot --size=1 --fstype=biosboot
part /boot/efi --size=100 --fstype=efi
part /boot --size=1000 --fstype=ext4 --label=boot
part /boot --size=1000 --fstype=ext4 --label=boot
part / --grow --fstype xfs
reqpart

ostreecontainer --url quay.io/centos-bootc/fedora-bootc:eln --no-signature-verification
# Or: quay.io/centos-bootc/centos-bootc-dev:stream9
Expand Down

0 comments on commit 05a824b

Please sign in to comment.