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:
parent
73b1413825
commit
807e82dde4
|
|
@ -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