c79e475511
gates / gates (push) Successful in 3m3s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
11 lines
665 B
Bash
11 lines
665 B
Bash
#!/bin/bash
|
|
# End of the spike: remove the test entries, the ESP one-shot and the BootNext loader + firmware entry. KEEP the explicit
|
|
# GRUB_DEFAULT the setup wrote (the kernel this box runs and booted healthily); the original file stays as *.felhom-spike-orig.
|
|
set -uo pipefail
|
|
rm -f /etc/grub.d/01_felhom_oneshot /etc/grub.d/41_felhom_spike /boot/efi/EFI/proxmox/felhom-oneshot.env
|
|
bash /root/spike-bootnext-undo.sh >/dev/null 2>&1
|
|
update-grub 2>&1 | tail -1
|
|
echo "felhom lines in grub.cfg: $(grep -c felhom /boot/grub/grub.cfg)"
|
|
grep -m1 '^GRUB_DEFAULT' /etc/default/grub; uname -r
|
|
efibootmgr | grep -E 'BootOrder|felhom|BootNext' | cut -c1-80; ls /boot/efi/EFI
|