Skip to content

Commit

Permalink
docs: Remove the workaround from example.ks
Browse files Browse the repository at this point in the history
The installer supports bootupd now, so we can drop the workaround.
See: rhinstaller/anaconda#5298
  • Loading branch information
poncovka committed Nov 27, 2023
1 parent 73b1413 commit c0a4f79
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions docs/example.ks
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,3 @@ rootpw --iscrypted locked
#sshkey --username root "ssh-ed25519 <key> [email protected]"
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

0 comments on commit c0a4f79

Please sign in to comment.