not being able to install kdump non-interactively on ubuntu

by user7942834   Last Updated August 14, 2019 05:01 AM

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?

Tags : linux ubuntu apt

Related Questions

Updated July 18, 2015 15:00 PM

Updated March 05, 2016 01:00 AM

Updated June 21, 2015 00:00 AM

Updated September 14, 2015 15:00 PM

Updated August 05, 2017 20:01 PM