Merge pull request #72 from poncovka/main-reqpart
docs: Remove workarounds from example.ks
This commit is contained in:
commit
948f774a70
|
|
@ -1,12 +1,12 @@
|
||||||
text
|
text
|
||||||
|
# NOTE: As of the time of this writing, this kickstart only
|
||||||
|
# works with a Fedora 40+ (or ELN) installer ISO as it requires
|
||||||
|
# https://github.com/rhinstaller/anaconda/pull/5342
|
||||||
# Basic partitioning
|
# Basic partitioning
|
||||||
clearpart --all --initlabel --disklabel=gpt
|
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
|
part / --grow --fstype xfs
|
||||||
|
reqpart
|
||||||
|
|
||||||
ostreecontainer --url quay.io/centos-bootc/fedora-bootc:eln --no-signature-verification
|
ostreecontainer --url quay.io/centos-bootc/fedora-bootc:eln --no-signature-verification
|
||||||
# Or: quay.io/centos-bootc/centos-bootc-dev:stream9
|
# Or: quay.io/centos-bootc/centos-bootc-dev:stream9
|
||||||
|
|
@ -19,14 +19,3 @@ rootpw --iscrypted locked
|
||||||
# Add your example SSH key here!
|
# Add your example SSH key here!
|
||||||
#sshkey --username root "ssh-ed25519 <key> demo@example.com"
|
#sshkey --username root "ssh-ed25519 <key> demo@example.com"
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
# Workarounds until https://github.com/rhinstaller/anaconda/pull/5298/ lands
|
|
||||||
bootloader --location=none --disabled
|
|
||||||
%post --erroronfail
|
|
||||||
set -euo pipefail
|
|
||||||
# Work around anaconda wanting a root password
|
|
||||||
passwd -l root
|
|
||||||
rootdevice=$(findmnt -nv -o SOURCE /)
|
|
||||||
device=$(lsblk -n -o PKNAME ${rootdevice})
|
|
||||||
/usr/bin/bootupctl backend install --auto --with-static-configs --device /dev/${device} /
|
|
||||||
%end
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue