mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-09-01 05:50:45 +00:00
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: https://github.com/rhinstaller/anaconda/pull/5298/
19 lines
504 B
Text
19 lines
504 B
Text
text
|
|
|
|
# Basic partitioning
|
|
clearpart --all --initlabel --disklabel=gpt
|
|
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
|
|
|
|
firewall --disabled
|
|
services --enabled=sshd
|
|
|
|
# Only inject a SSH key for root
|
|
rootpw --iscrypted locked
|
|
# Add your example SSH key here!
|
|
#sshkey --username root "ssh-ed25519 <key> demo@example.com"
|
|
reboot
|