I am trying to enable kdump through a script in the following way
echo "kexec-tools kexec-tools/load_kexec boolean false" | sudo debconf-set-selections update /etc/default/grub sudo update-grub DEBIAN_FRONTEND=noninteractive sudo apt install linux-crashdump -fy --fix-missing
It still asks the question
If you choose this option, a system reboot will trigger a restart into a kernel loaded by kexec instead of going through the full system boot loader process. Should kexec-tools handle reboots (sysvinit only)?
Could anyone please let me know some way to do this non-interactively?