docs: Remove the bootupd workaround from example.ks

The installer supports bootupd now, so we can drop the workaround.
See: https://github.com/rhinstaller/anaconda/pull/5298/
This commit is contained in:
Vendula Poncova 2023-11-27 12:02:12 +01:00
parent 73b1413825
commit 807e82dde4
No known key found for this signature in database
GPG Key ID: BBA1F9D3787FD21C
1 changed files with 0 additions and 11 deletions

View File

@ -19,14 +19,3 @@ rootpw --iscrypted locked
# Add your example SSH key here!
#sshkey --username root "ssh-ed25519 <key> demo@example.com"
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